Webdeploy Issues: Cannot deploy unless admin
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:
- Go to
Windows Programs and Features
- Select
Uninstall for Web Deploy 3.6
- Now select
Repair
- Select
- 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. - Next, go to
Start | Administrative tools | Computer Management.
- Then go to
Local Users and Groups
- checkpassword never expires
on the userWDeployConfigWriter
That usually solves my problem.
Turns out it was an expired password for the WDeployConfigWriter account.
Following changes fixed my issue.
Start >> Administrative tools >> Computer Mangement.
There is a user called WDeployConfigWriter. Set to password never expired and updated in IIS as per the below link.
https://blog.workinghardinit.work/2011/07/18/wdeployconfigwriter-account-issues-trouble-shooting-web-deploy-2-0-with-lessons-learned/