Problem
InVisual Studio
Medium ApplicationWeb deploy
PerformPublish...
Error. (The server environment isWindows Server 2008 R2 Enterprise
)
Diagnosis
Open on server
Server Manager
-Diagnosis
-Event Viewer
-ApplicationProgramAnd service logs
-Microsoft Web deploy
,
Error message:
Not able to log on the user '. \ wdeployconfigwriter'
Google found
Http://stackoverflow.com/questions/6939150/web-deployment-task-build-failed
The two accounts used by web deploy,Wdeployconfigwriter
AndWdeployadmin
The default password policy isThe user needs to change the password upon next login
, Resulting in password expiration.
Solution
- Open
Server Manager
-Configuration
-Local users and groups
-User
To change the password or password policy of the two accounts.
- Open
IIS Manager
-Manage Service Delegation
, You can see a fewProviders
These two users are used. Double-click relatedProviders
, InEdit rule
Bottom of the windowSpecify creden
Click in the columnSet
, Enter the user name and new password.
- Return to Vs and re-release