Deploy BCS in VS2010 Issue

简介:

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

目录
相关文章
|
4月前
|
网络协议 jenkins 调度
Docker【部署 06】Swarm实践及Operation not permitted和No chain/target/match by that name问题处理
Docker【部署 06】Swarm实践及Operation not permitted和No chain/target/match by that name问题处理
128 0
Docker【部署 06】Swarm实践及Operation not permitted和No chain/target/match by that name问题处理
|
7月前
|
存储 JSON 前端开发
听GPT 讲Alertmanager源代码--cluster/cli/asset等
听GPT 讲Alertmanager源代码--cluster/cli/asset等
29 0
This job is stuck, because the project doesn‘t have any runners online assigned to it. Go to Runners
This job is stuck, because the project doesn‘t have any runners online assigned to it. Go to Runners
This job is stuck, because the project doesn‘t have any runners online assigned to it. Go to Runners
|
Linux 开发工具
Gitlab - 安装的社区版 Gitlab-ce,解决访问网页报502-Whoops, GitLab is taking too much time to respond的问题
Gitlab - 安装的社区版 Gitlab-ce,解决访问网页报502-Whoops, GitLab is taking too much time to respond的问题
1153 0
Gitlab - 安装的社区版 Gitlab-ce,解决访问网页报502-Whoops, GitLab is taking too much time to respond的问题
|
Kubernetes Cloud Native 安全
Kubernetes CKS 2021【7】---Cluster Setup - Verify Platform
Kubernetes CKS 2021【7】---Cluster Setup - Verify Platform
Kubernetes CKS 2021【7】---Cluster Setup - Verify Platform
|
Kubernetes 容器
helm NOTES.txt
helm NOTES.txt
|
Kubernetes 安全 Docker
Kubernetes CKS【17】---Supply Chain Security - 镜像构建
Kubernetes CKS【17】---Supply Chain Security - 镜像构建
Kubernetes CKS【17】---Supply Chain Security - 镜像构建
|
Java 应用服务中间件
Artifact SSMTest:war exploded: Error during artifact deployment. See server log for details.
Artifact SSMTest:war exploded: Error during artifact deployment. See server log for details.
656 0
Artifact SSMTest:war exploded: Error during artifact deployment. See server log for details.
|
存储 数据可视化 持续交付
Github continuous deployment (CD) 最佳实践
Github continuous deployment (CD) 最佳实践
118 0
Github continuous deployment (CD) 最佳实践