Common issue: new SPSite API call returns "The Web application at http://server:port/ could not be f
来源:互联网 发布:公安情报大数据库 编辑:程序博客网 时间:2024/06/06 03:19
Since the early times of SharePoint we receive support cases where a customer receives the following error message when using custom code with SharePoint:
"The Web application at http://server:port/ 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"
Here are the most common reasons this error can occur:
1. The code is executed on a different machine - The SharePoint object model (except the Client API) requires to be run on the SharePoint server itself. It is not possible to run the application on a server which is not within the same SharePoint farm the code is trying to access.
2. Insufficient Rights on the site collection - The code is executed in context of an account which does not have read permission on the site collection
3. Incorrect Url being used - Verify that the site works correct in a browser and double check that the server is correct registered in the AAM settings
4. Incorrect bitness - The SharePoint object model needs to be executed with the same bitness as the operating system. That means you cannot use the SharePoint object model in a 32-bit application if the Operating System and SharePoint are installed as 64-bit version. Ensure to compile the project using the correct bitness (64-bit on a 64-bit machine vs. 32-bit on a 32-bit machine)
5. Incorrect .NET framework version - Ensure that the project is configured to use .NET 3.5. .NET 4.0 cannot be used with the current versions of SharePoint
Referenced from: http://blogs.technet.com/b/stefan_gossner/archive/2011/09/19/common-issue-new-spsite-returns-quot-the-web-application-at-http-server-port-could-not-be-found-quot.aspx
- Common issue: new SPSite API call returns "The Web application at http://server:port/ could not be f
- The Web application at could not be found. 特殊情况的错误原因
- Could not download the Silverlight application. Check web server settings
- The application could not be verified.
- iOS8 The application could not be verified.
- The application could not be verified.
- The application could not be verified.
- The application could not be verified.
- The application could not be verified.
- The application could not be verified.
- The application could not be verified.
- The application could not be verified
- The application could not be verified.
- The application could not be verified
- ios真机调试 The application could not be verified.
- xcode错误:"The application could not be verified."
- app installation failed the application could not be verified
- Xcode 真机运行报错:the application could not be verified.
- EclipseHTMLEditor
- JAVA根据不同协议初始化SVN版本库
- UML_活动图
- iOS 使用 Core Plot 绘制统计图表入门[转]
- CouchDB - Introduction
- Common issue: new SPSite API call returns "The Web application at http://server:port/ could not be f
- php手册-伪类
- Oracle Rac 下的连接管理
- bitwise constness与logical constness的区别
- JAVA变量path , classpth ,java_home设设置作用和作用
- SQL isNull 小记
- Emacs 编辑环境,第1部分:学习Emacs的基础知识
- 证据表明梅姐并不是Google第20人!
- I2C总线协议学习笔记