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

 

3,

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

 

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

 

代码

 

 

 

问题解决~~

 

 

PS:WSS4.0 = Microsoft SharePoint Foundation 2010



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

相关文章
|
7月前
|
开发工具 git
git error 已解决【Another git process seems to be running in this repository, e.g. an editor opened by】
git error 已解决【Another git process seems to be running in this repository, e.g. an editor opened by】
103 2
|
6月前
|
数据库 开发工具 开发者
【Python】已解决:You have 18 unapplied migration(s). Your project may not work properly until you apply t
【Python】已解决:You have 18 unapplied migration(s). Your project may not work properly until you apply t
235 0
|
8月前
|
Docker 容器
mac构建Docker镜像报错failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpec
mac构建Docker镜像报错failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpec
294 0
|
存储 JSON 前端开发
听GPT 讲Alertmanager源代码--cluster/cli/asset等
听GPT 讲Alertmanager源代码--cluster/cli/asset等
65 0
|
分布式计算 Spark
《Sparklint a Tool for Identifying and Tuning Inefficient Spark Jobs Across Your Cluster》电子版地址
Sparklint a Tool for Identifying and Tuning Inefficient Spark Jobs Across Your Cluster
105 0
《Sparklint a Tool for Identifying and Tuning Inefficient Spark Jobs Across Your Cluster》电子版地址
|
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
|
算法 安全 Linux
Git 拉取项目小技巧之切换分支error: The following untracked working tree files would be overwritten by checkout:
Git 拉取项目小技巧之切换分支error: The following untracked working tree files would be overwritten by checkout:
755 0
Git 拉取项目小技巧之切换分支error: The following untracked working tree files would be overwritten by checkout:
That command depends on command in Target 'XXX': script phase “[CP] Copy Pods Resourc 报错解决方法
That command depends on command in Target 'XXX': script phase “[CP] Copy Pods Resourc 报错解决方法
186 0