tisdag 25 oktober 2011

Status code 550 when using Msdeploy

I ran into problems using msdeploy after changing some settings in IIS. Struggled a whole day with this issue until I finally realized what was causing the error. I just thought I'd share what was wrong in case someone else has the same problem. Here's the error message:
Microsoft.Web.Deployment.DeploymentException: An unsupported response was received.
The response header 'MSDeploy.Response' was '' but 'v1' was expected.
System.Net.WebException: The remote server returned an error: (550).
The problem was an errorneous iisApp-path, you need to specify the name of the iis site (the name displayed in iis manager) and not the associated host, eg in my case my site name in iis was 'test.mysite.com', but it was listening to the host name 'mysite.com'. If you specify -dest:iisApp=mysite.com, you'll get the error above (not a very good error message) This guy had the same problem, and the resolution was the same: http://forums.iis.net/p/1174284/1965776.aspx

Bloggintresserade