Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a very basic Windows 2008 R2 Web Server running IIS 7.0.

This is just a test/practice server, so I enabled Web Deployment using Windows Authentication.

All was well and I was able to deploy easily from VS 2010 using the Administrator account credentials.

After changing the Administrator account password, I get the following error when trying to deploy from Visual Studio (using the new password, of course):

Error 1 Web deployment task failed... ...An unsupported response was received. The response header 'MSDeploy.Response' was '' but 'v1' was expected. The remote server returned an error: (401) Unauthorized.

If I change the Administrator password back to the original one and try to publish using it everything works fine again. So what am I missing? Am I supposed to do something in IIS after changing the password?

Thanks!

share|improve this question
add comment

2 Answers

Check your Web Deploy rules to make sure that none of them are using the same administer account. Use the Management Service Delegation icon from IIS Manager at the server level. Also confirm that your app pool isn't using your administrator account.

share|improve this answer
add comment

So this was really weird...

The problem was that my new password had a % in it. I guess this has something to do with encoding the connection string?

Anyway, passwords without the percent sign work just fine and I can change them all I want!

share|improve this answer
    
check out this answer to solve passwords with % –  mateuscb Mar 30 '12 at 20:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.