博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Deploy BCS in VS2010 Issue
阅读量:6155 次
发布时间:2019-06-21

本文共 2475 字,大约阅读时间需要 8 分钟。

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 中设置)

2010061117095020.png

 

3,

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

 

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

 
<
SafeControl
Assembly
="Microsoft.Office.Server.Chart, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
Namespace
="Microsoft.Office.Server.WebControls"
TypeName
="*"
Safe
="True"
SafeAgainstScript
="True"
/>
<
SafeControl
Assembly
="Microsoft.Office.Server.UI, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
Namespace
="Microsoft.Office.Server.WebControls"
TypeName
="*"
/>
<
SafeControl
Assembly
="Microsoft.Office.Server.UI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
Namespace
="Microsoft.Office.Server.WebControls"
TypeName
="*"
/>
<
SafeControl
Assembly
="Microsoft.Office.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
Namespace
="Microsoft.Office.Server.WebControls.FieldTypes"
TypeName
="*"
/>
<
SafeControl
Assembly
="Microsoft.Office.Server.UserProfiles, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
Namespace
="Microsoft.Office.Server.WebControls"
TypeName
="*"
/>
<
SafeControl
Assembly
="Microsoft.Office.Server.UserProfiles, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
Namespace
="Microsoft.Office.Server.WebControls.FieldTypes"
TypeName
="*"
/>
<
SafeControl
Assembly
="Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
Namespace
="Microsoft.Office.Server.WebControls"
TypeName
="*"
/>
<
SafeControl
Assembly
="Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
Namespace
="Microsoft.Office.Server.WebControls.FieldTypes"
TypeName
="*"
/>
<
SafeControl
Assembly
="Microsoft.Office.SharePoint.ClientExtensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
Namespace
="Microsoft.Office.SharePoint.ClientExtensions.Publishing"
TypeName
="TakeListOfflineRibbonControl"
/>

 

 

 

问题解决~~

 

 

PS:WSS4.0 = Microsoft SharePoint Foundation 2010

转载地址:http://jxdfa.baihongyu.com/

你可能感兴趣的文章
js new Date()
查看>>
如何根据动态SQL代码自动生成DTO
查看>>
mysql 的用户管理
查看>>
Oracle技术之如何监测一个PLSQL过程的运行情况(三)
查看>>
健身:手臂训练
查看>>
Unable to preventDefault inside passive event listener due to target being treated as passive.
查看>>
【趣文翻译】如何用各种编程语言杀死一条龙,PHP大亮 [转]
查看>>
[Asp.net MVC]Asp.net MVC5系列——第一个项目
查看>>
[Node.js]DNS模块
查看>>
响应式编程(Reactive Programming)(Rx)介绍
查看>>
数据之独立存储(Isolated Storage)[转]
查看>>
[数据结构]快速排序
查看>>
面试题----网页/应用访问慢突然变慢,如何定位问题
查看>>
对Java单例模式 volatile关键字作用的理解
查看>>
sublime Text3支持vue高亮,sublime Text3格式化Vue
查看>>
我的第一篇博客
查看>>
神经网络CNN训练心得--调参经验
查看>>
网站防刷方案
查看>>
【成长之路】【python】python基础5-模块
查看>>
第一次程序改错
查看>>