29

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?

Gert Arnold
  • 105,341
  • 31
  • 202
  • 291
Pch
  • 319
  • 1
  • 4
  • 6

4 Answers4

0

1) Open port 8172 on server if not

2) Make sure you have web deployment tools installed

enter image description here

Timeless
  • 7,338
  • 9
  • 60
  • 94
0

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.

Fairoz
  • 828
  • 2
  • 8
  • 21
0

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

Rick Runowski
  • 346
  • 3
  • 9