visual-studio-2010sharepointsharepoint-2010sharepoint-deployment

Error when trying to deploy SharePoint 2010 solution package - SharePoint 2010 - Visual Studio 2010


After several deployments, I receive the following error when trying to re-deploy a solution:

Error occurred in deployment step ‘Recycle IIS Application Pool’: The communication object, System.ServiceModel.InstanceContext, cannot be used for communication because it has been Aborted.

The only solution I have found (not ideal) is to restart Visual Studio.

Anyone know a better way?


Solution

  • I have seen this a couple of times as well and the only resolution I found was to restart Visual Studio as well.