开发学院软件开发C语言 (SharePoint 2010)用户代码未处理 FileNotFoundEx... 阅读

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

 2010-10-24 07:59:54 来源:WEB开发网 闂傚倷绶氬ḿ褍螞閹绢喖绠柨鐕傛嫹闂傚倷绀侀幉锟犲垂閻㈠灚宕查柟鎵閸庡秵銇勯幒鎴濃偓鐢稿磻閹炬枼妲堟繛鍡楃С濞岊亞绱撻崒姘扁枌闁瑰嚖鎷�婵犵數濮幏鍐川椤撴繄鎹曢梻渚€娼уú銈吤洪妸鈺佺劦妞ゆ帊鑳堕埊鏇㈡煏閸モ晛浠х紒杈╁仱閺佹捇鏁撻敓锟�闂傚倷绶氬ḿ褍螞閹绢喖绠柨鐕傛嫹  闂傚倷鑳舵灙缂佺粯顨呴埢宥夊即閵忕姵鐎梺缁樺姇閻忔氨鈧凹鍓熷娲垂椤曞懎鍓伴梺閫炲苯澧紒澶婄秺瀵濡歌閸嬫捇妫冨☉娆忔殘闂佷紮缍€娴滎剟鍩€椤掑倹鏆柛瀣躬瀹曚即寮借閺嗭箓鏌ㄩ悤鍌涘
核心提示:Question:在Windows Server 2008 上写代码访问SharePoint 2010 站点集时报错!Error:The Web application at http://dexter-pc:81/SitePages/Home.aspx could not be found. Verify that

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

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中的【配置管理器】->【活动解决方案平台】,新建解决方案平台,如图。

Tags:SharePoint 用户 代码

编辑录入:爽爽 [复制链接] [打 印]
[]
  • 好
  • 好的评价 如果觉得好,就请您
      0%(0)
  • 差
  • 差的评价 如果觉得差,就请您
      0%(0)
更多精彩
    赞助商链接

    热点阅读
      焦点图片
        最新推荐
          精彩阅读