Question:在Windows Server 2008 上写代码访问SharePoint 2010 站点集时报错!

(SharePoint 2010)用户代码未处理 FileNotFoundException

 

 

Error:The Web application at http://dexter-pc:81/SitePages/Home.aspx 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.

 

Solution:由于访问SharePoint 2010的程序集必须是X64位的,所以出现此错误。在Visual Studio 2010中的【配置管理器】->【活动解决方案平台】,新建解决方案平台,如图。

(SharePoint 2010)用户代码未处理 FileNotFoundException

 

相关文章:

  • 2022-01-02
  • 2021-06-17
  • 2021-12-26
  • 2021-08-14
  • 2022-12-23
  • 2021-11-29
  • 2022-01-12
  • 2021-09-21
猜你喜欢
  • 2021-10-03
  • 2021-12-25
  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
  • 2022-02-01
  • 2021-08-04
相关资源
相似解决方案