PDA

View Full Version : Publish with VS 2010 - Error


ThomasM
04-15-2010, 04:03 AM
Hello,

I followed the instructions from https://support.discountasp.net/KB/a792/how-do-i-deploy-visual-studio-2010-web-application.aspx

But I receive the following error:
Web deployment task failed.(Remote agent (URL https://eweb703.discountasp.net:8172/MsDeploy.axd?site=XXX.com) could not be contacted. Make sure the remote agent service is installed and started on the target computer.)
Make sure the site name, user name, and password are correct. If the issue is not resolved, please contact your local or server administrator.
Error details:
Remote agent (URL https://eweb703.discountasp.net:8172/MsDeploy.axd?site=XXX.com) could not be contacted. Make sure the remote agent service is installed and started on the target computer.
An unsupported response was received. The response header 'MSDeploy.Response' was '' but 'v1' was expected.
The remote server returned an error: (401) Unauthorized.

I substituted my domainname with XXX.com in the error message above.

I double checked servername, username and password.

bruce
04-15-2010, 10:55 AM
The error indicate an invalid username / password.

Did you enable the user for IIS manager connection in the control panel?

ThomasM
04-15-2010, 04:53 PM
Thank you very much! I missed that part. :o

It's working now.