Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site:

Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site: http://dev2:81/. Make sure that this is a valid URL and the SharePoint site is running on the local computer. If you moved this project to a new computer or if the URL of the SharePoint site has changed since you created the project, update the Site URL property of the project.

解决方案:

  1. Added myself as the administrator

  2. Added myself to SharePoint Farm Admin Group(网站权限--Farm Administrators 组新增用户)

  3. Provided DB Owner access to SharePoint Content DB(为用户分配所有相关数据库的DBOWNER权限)

 

 

posted @ 2013-01-14 16:41  编程笔记  阅读(826)  评论(0编辑  收藏  举报