SharePoint---"The Web application at <url> could not be found" Issue

在vs中做SharePoint 2010开发或调试的时候,经常会碰到如下的错误:

The Web application at http://test-sp2010/ 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.

 

一般这个错误可以通过以下三种方式解决:

  • 以Administrator的身份运行vs

        image

  • 修改.net framework的版本为3.5,因为SharePoint 2010是建立在.net 3.5之上的

        image

  • 修改编译运行平台为AnyCPU或X64(默认的是X86)

         image

 

posted @ 2010-08-10 16:49  Kevwan  阅读(606)  评论(0编辑  收藏  举报