小编nic*_*ruy的帖子

找不到程序集System.ServiceModel

我正在sharepoint上部署一个webpart并遇到一些错误.webpart使用来自Web服务的数据并使用Microsoft Chart(Framework 3.5)显示图表.当我尝试访问它时,我得到以下错误:

无法加载文件或程序集'System.ServiceModel,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089'或其依赖项之一.该系统找不到指定的文件.

StackTrace:在System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage消息,WebResponse响应,Stream responseStream,Boolean asyncCall)
处于System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName,Object []参数)

我尝试将System.Servicemodel.dll复制到bin文件夹并在GAC上注册,但错误不会更改.任何的想法?

谢谢

sharepoint .net-3.5

5
推荐指数
1
解决办法
2万
查看次数

标签 统计

.net-3.5 ×1

sharepoint ×1