Troubleshooting Web Deploy for Windows Azure
Here are some of the most common problems with Web Deploy on Windows Azure:
Symptom: I get this error message when I try to update my Web Role instance using Web Deploy:
"Error : Web deployment task failed. (...) The response header 'MSDeploy.Response' was '' but 'v1' was expected."
Problem 1: In some IT Environments it is not possible to make SSL connections on port 8172, which is the default port for Web Deploy and the Web Management Service.
Solution 1: Change the Web Deploy port number. (see above)
Problem 2: The Web Deploy service isn’t running correctly on the Web Role instance.
Solution 2: Log into the Web Role instance with Remote Desktop and make sure that the Web Management Service and Web Deploy Service are both running. Try to restart both services.
Problem 3: Site/Application input incorrect
Solution 3: Please check your real website name via remote to web instance virtual machine IIS.
Symptom: I checked the Web Deploy checkbox when I published my Cloud Project but there is no publish profile in my Web Application project.
Problem: In some cases the publish profile gets deleted in Visual Studio 2010 RTM.
Solution: This problem is solved in Visual Studio 2010 SP1.