How to resolve WebDeploy authorization and delegation settings error

I recently set up MS Webdeploy for the application team to be able to publish/deploy from their prelife environment to production. After the necessary configuration, one of the developer reported the error below

webdeploy_error

Resolution

In order to resolve this error, I checked the Event Viewer to get more details about the error

Open Application and Service Logs > Microsoft > Windows > WebDeploy.

webdeploy_error1

The webDeploy log indicates that WDeployConfigWriter user was unable to log on.

When webDeploy was installed, it sets up two local accounts WDeployConfigWriter and WDeployAdmin. These accounts are use to give permissions/priviledges to setup IIS sites and modify the applicationHost.config.
The passwords on these accounts are set to expire and user must change password on next logon

Setting the accounts to not expire and for user not to change the password on the next logon resolve the issue.

How to Cheat at IIS 7 Server Administration
by Chris Adams
Price: £20.33
21 new from £20.3310 used from £3.07
How to Cheat at IIS 7 Server Administration According to Microsoft, Internet Information Services (IIS) 7.0 is a web server that provides a secure, easy to manage platform for developing and hosting Web applications and services. For the average SysAdmin, it presents a difficult migration path. This title aims to help the SysAdmin get IIS 7 up and running as quickly as possible.

Post Comment