Reputation: 329
I want to publish my project but:
Error1
Web deployment task failed. (Could not complete the request to remote agent URL 'https://xxxxx:xxxx/msdeploy.axd?site=VoIP'.)
Could not complete the request to remote agent URL 'https://xxxxx:xxxx/msdeploy.axd?site=VoIP'. The request was aborted: The request was canceled. COM object that has been separated from its underlying RCW cannot be used.
Does anybody know what's wrong?
Upvotes: 30
Views: 16849
Reputation: 355
In my case when I attempted to restart the Web Management service it would fail... Manually restarting using:
Net start wmsvc
gave me the response:
A service specific error occurred: 2147483656.
That led me to this article.
Effectively I had deleted the cert used by Management Services when updating my SSL certificates (forehead slap), and it didn't know which cert to use.
I went into IIS, clicked on the Server, double clicked the Management Service screen.
I then selected my new SSL Certificate, clicked apply, then restart and I was back in business.
Upvotes: 1
Reputation: 878
In my case I found that internet proxy was enabled for the account, which was making the MSDeploy request to go to internet instead of local network.
Upvotes: 0
Reputation: 7537
1) Open port 8172 on server if not
2) Make sure you have web deployment tools installed
Upvotes: 0
Reputation: 785
This is a bug and was fixed, but only if you have the Azure SDK:
Publish Wizard Errors in VS2010 and 2012
Upvotes: 2