locked
Installing and Configuring Web Deploy on IIS 8.0 or Later RRS feed

  • Question

  • User1944375565 posted

    Hello everyone,

    https://docs.microsoft.com/en-us/iis/install/installing-publishing-technologies/installing-and-configuring-web-deploy-on-iis-80-or-later

    Towards the end, it reads : The non-administrator Windows user (NonAdminUser) may now publish to the site.

    Can anyone know precisely what this means? A non admin can publish what and how, with this?

    The thing is that, unless I miss something, until configuring the web deployment handler, following its doc like https://docs.microsoft.com/en-us/iis/publish/using-web-deploy/configure-the-web-deployment-handler, we are not able to publish a web application to from Visual Studio, aren't we?

    I do not think it changes anything, but here is our environment for your info: Server: W2012 R2, Web Deploy: 3.5, and Visual Studio 2015.

    In addition, with the web deployment handler configured, I can now publish my app with no problem. However, there is no log appearing in the Event Viewer, in the usual branch for web deploy.

    I configured web deploy in the same way on several W2008 servers in the past, and the activities are logged there by default, with no addition configuration required.

    Has anybody here had the same issue and resolved?

    Thanks in advance for your kind help.

    Kazutsugu

    Friday, November 17, 2017 9:41 AM

All replies

  • User283571144 posted

    Hi kazutsugu,

    Can anyone know precisely what this means? A non admin can publish what and how, with this?

    According to the article shows, after opening Configure Web Deploy Publishing window and Select a user to give publishing permissions.

    Then it will generate a {yourIISapplicationname}.publishsettings file.

    For example:

    C:\Users\janedoe\Desktop\CONTOSO\_johndoe\_Default Web Site.PublishSettings

    Then you could create a profile by importing  this publishsettings file for a web site in VS.

    More details, you could refer to this article.

    In addition, with the web deployment handler configured, I can now publish my app with no problem. However, there is no log appearing in the Event Viewer, in the usual branch for web deploy.

    I configured web deploy in the same way on several W2008 servers in the past, and the activities are logged there by default, with no addition configuration required.

    Has anybody here had the same issue and resolved?

    According to your description, I guess you may disable the log in the event viewer.

    I suggest you could open the event viewer and locate this path:

    Event Viewer -> Applications and Services Logs -> Microsoft -> Windows -> WebDeploy 

    Then you could right click the web deploy and select the enable log.

    More details, you could refer to below image:

    Best Regards.

    Brando

    Monday, November 20, 2017 3:02 AM