Deploy时提示:

Error ocurred in deployment step 'Add Solution': Failed to load receiver assembly 'Microsoft.Office.SharePoint.ClientExentions.dll....

 

这个异常只会在WSS中发生,解决办法是:

前提:两台机子,一台是WSS4.0,另外一台是MOSS2010,VS2010

 

1,从MOSS的服务器,把 

1) Microsoft.Office.Server.dll

2) microsoft.office.sharepoint.clientextensions.dll

3) Microsoft.Office.Sharepoint.ClientExtensions.xml

三个文件从ISAPI folder中(可以从IIS application的vti_bin中explore)复制到 WSS的 ISAPI文件夹中

 

2,把两个dll加入到VS2010的BCS 项目中的Package中去(在designer  Advance 中设置)

Deploy BCS in VS2010 Issue

 

3,

build--> deploy solution,当有提示说是否修改Web.config, 选择修改。

 

确保你deploy的web application中的web.config有如下字样:

 

Deploy BCS in VS2010 Issue代码

 

 

 

问题解决~~

 

 

PS:WSS4.0 = Microsoft SharePoint Foundation 2010



本文转自轩脉刃博客园博客,原文链接:http://www.cnblogs.com/yjf512/archive/2010/06/11/1756528.html,如需转载请自行联系原作者

相关文章:

  • 2021-12-30
  • 2022-12-23
  • 2021-05-05
  • 2021-11-26
  • 2022-01-16
  • 2021-09-14
  • 2021-12-20
猜你喜欢
  • 2021-12-17
  • 2021-04-08
  • 2021-12-20
  • 2021-08-03
  • 2021-06-11
相关资源
相似解决方案