简体   繁体   中英

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?

我已经看过几次了,我发现的唯一解决方案也是重启Visual Studio。

How come restarting Visual Studio will fix anything :)

You need to run Visual Studio as Administrator (by right clicking on its icon)

If still persists, restart the server.

If still persists, add the administrator account under which you are running Visual Studio to Sharepoint Central Administration for that sharepoint web portal.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM