开发者

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?


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜