Webdeploy Issues: Cannot deploy unless admin

Viewed 7052

I am trying to deploy a site using msdeploy and cannot get it to deploy under an IIS user account. My admin account is able to deploy successfully.

Steps I have taken:

  1. Created IIS user account
  2. Give the account access to the relevant website
  3. Setup deployment for the site granting the iis user account permissions to deploy
  4. Ensured that the WMSVC has full rights to the physical folder
  5. Add the IIS user account to the relevant rule in Management Service Delegation

I get the following error back:

Unable to perform the operation. Please contact your server administrator to check authorization and delegation settings.
3 Answers

As other's have mentioned, it is usually a problem with an expired password for the WDeployConfigWriter user in Windows Server.

What I usually do when resetting the password and configuring password never expires is not enough:

  1. Go to Windows Programs and Features
    • Select Uninstall for Web Deploy 3.6
    • Now select Repair
  2. Go to IIS Manager. Then reconfigure Web Deploy for your IIS site: You can change the old Web Deploy user´s password or delete that user and create a new user.
  3. Next, go to Start | Administrative tools | Computer Management.
  4. Then go to Local Users and Groups - check password never expires on the user WDeployConfigWriter

That usually solves my problem.

Related