的SharePoint错误:在XXXX的Web应用程序无法找到 [英] SharePoint error: Web application at xxxx could not be found

查看:165
本文介绍了的SharePoint错误:在XXXX的Web应用程序无法找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试执行此code:

When I try to execute this code:

SPSite siteCollection = new SPSite(@"http://sp-devxxx:10000/");

这引发以下错误:

It throws the following error:

在Web应用程序    HTTP:// SP-devxxx:10000 不能   找到。请确认您键入的   网址正确。如果URL应该是   服现有的内容,该系统   管理员可能需要添加新的   请求URL映射到目标   应用程序。

The Web application at http://sp-devxxx:10000 could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.

我可以从我的Web浏览器中点击这个网站,它编译于64,我的帐户具有读/写访问DB的内容中,code在服务器上运行,该网站正在运行且存在访问映射这个网站。为什么会被抛出这个错误?

I can hit this site from my web browser, it is compiling in x64, my account has read/write access to the content db, the code is running on the server that the site is running on and there exists an access mapping for this site. Why would it be throwing this error?

推荐答案

确定,经过痛苦的时间我终于发现了问题......

OK, after hours of pain i finally found the problem....

我不得不自己添加到WSS_ADMIN_WPG组的服务器上。希望这可以帮助别人。

I had to add myself to the WSS_ADMIN_WPG group on the server. Hope this helps someone.

这篇关于的SharePoint错误:在XXXX的Web应用程序无法找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆