Pch
Pch

Reputation: 329

Web deployment task failed. (Could not complete the request)

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

Answers (4)

Rick Runowski
Rick Runowski

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. enter image description here

I then selected my new SSL Certificate, clicked apply, then restart and I was back in business. enter image description here

Upvotes: 1

Fairoz
Fairoz

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

Timeless
Timeless

Reputation: 7537

1) Open port 8172 on server if not

2) Make sure you have web deployment tools installed

enter image description here

Upvotes: 0

Related Questions