Wednesday, 30 January 2013

Web deployment task failed An error occurred when the request was processed on the remote computer.


Yesterday I have been trying to publish latest updates onto server and found error, when using web deploy method of publishing new release.

I have pressed next and I get following error.


Web deployment task failed. ((30/01/2013 19:43:59) An error occurred when the request was processed on the remote computer.)



Steps I took to find the error.
Log in onto your web server and open event log.
Find logs that are for source Web Deploy

You should find something as:

With detail



Please note the red underlined lines that describe issue.
Now note the account that web  deploy is using to update data on your server. It is the one in blue rectange.

Ok, we have identified that the user account has expired.

Go to server manager and update account to remove account has expired and set account to never expire.




 Try deployment again, and publish has succeded.