解决VS2010 部署SharePoint 2010 Solution- Recyle IIS Application Pool Err

Error occurred in deployment step ‘Recycle IIS Application Pool’: Cannot connect to the SharePoint site: http://localhost/. 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 tError occurred in deployment step ‘Recycle IIS Application Pool’: The local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm.

或者

Error occurred in deployment step ‘Recycle IIS Application Pool’: Cannot connect to the SharePoint site: http://localhost/. 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

这两个错误是在VS2010部署SharePoint 2010 solution时常见的两个错,可以通过以下方法解决:


1.找到VS2010的对应的进程-vssphost4.exe, 打开任务管理器,察看这个进程的Username, 比如说是myUserName.

2.打开SQL Management Studio, 确认一下myUserName是否作为以下数据库的DBOwner:

SharePoint_Config
SharePoint_AdminContent_[guid]

SharePoint Site Content DB




关掉VS再重新打开,问题应该就解决了.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值