现在的位置: 首页 > 综合 > 正文

sharepoint 2010 控制台应用程序 找不到位于 http://xxx 的 Web 应用程序

2013年10月13日 ⁄ 综合 ⁄ 共 405字 ⁄ 字号 评论关闭

最近使用 控制台应用程序做一些sharepoint的开发,出现了一个小问题,顺便记录一下原因和方法:

中文的错误信息:

找不到位于 http://xxx 的 Web 应用程序。请确认正确键入了此 URL。如果此 URL 需要提供现有内容,则系统管理员可能需要添加到指定应用程序的新请求 URL 映射。

英文的错误信息:

The Web Application at http://xxx 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.

原因是因为我们在vs 2010创建项目的时候,没有把目标平台从默认的x86改成x64.

只要改成x64,问题解决。

 

抱歉!评论已关闭.