VS2012 WebAPI Publish/WebDeploy Failed

Problem

If you try to deploy a MVC 4 web api project using web deploy and you get the following error:

“COM object that has been separated from its underlying RCW cannot be used.”

Solution

Restart VS2012 and try to publish / web deploy again.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s