Error deploying SharePoint 2010 solution package - SharePoint 2010 - Visual Studio 2010

After several deployments, I get the following error when trying to redeploy the solution:

An error occurred while deploying IIS Application Pooling: The communication object, System.ServiceModel.InstanceContext, cannot be used for communication because it was interrupted.

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

Does anyone know a better way?

+6
source share
2 answers

I have seen this several times, and the only thing I found was to restart Visual Studio.

+9
source

Suddenly rebooting Visual Studio will fix something :)

You need to run Visual Studio as an administrator (right-clicking on the icon)

If it still persists, restart the server.

If it still persists, add the administrator account under which you use Visual Studio for the Sharepoint admin center for this sharepoint web portal.

0
source

Source: https://habr.com/ru/post/890641/


All Articles