在sql2008上部署CLR的WCF问题

wang_peng 2014-08-13 03:13:10
我的电脑是Window7 64位 部署没有问题,
执行的时候提示
未能加载文件或程序集“System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”或它的某一个依赖项。主机存储区中的程序集与 GAC 中的程序集具有不同的签名
...全文
135 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
wang_peng 2014-09-03
  • 打赏
  • 举报
回复
我的这个帖子为什么被移走了
w274941173 2014-08-13
  • 打赏
  • 举报
回复
64位服务器上, CLR上 部署WCF环境 CREATE ASSEMBLY SMDiagnostics from 'C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\SMdiagnostics.dll' with permission_set = UNSAFE GO CREATE ASSEMBLY [System.Web] from 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\System.Web.dll' with permission_set = UNSAFE GO CREATE ASSEMBLY [System.Messaging] from 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Messaging.dll' with permission_set = UNSAFE GO CREATE ASSEMBLY [System.IdentityModel] from 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\System.IdentityModel.dll' with permission_set = UNSAFE GO CREATE ASSEMBLY [System.IdentityModel.Selectors] from 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\System.IdentityModel.Selectors.dll' with permission_set = UNSAFE GO CREATE ASSEMBLY [Microsoft.Transactions.Bridge] from 'C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\Microsoft.Transactions.Bridge.dll' with permission_set = UNSAFE GO
threenewbee 2014-08-13
  • 打赏
  • 举报
回复
怎么会这样,.net框架安装正确么?或者你程序引用的版本不对。
exception92 2014-08-13
  • 打赏
  • 举报
回复
debug 模式下,把ystem.IdentityModel 这个dll放到debug目录下试试。看是缺少dll
wang_peng 2014-08-13
  • 打赏
  • 举报
回复
这是Sql外部应用,Sql语句,通过调用CLR调用WCF服务

7,765

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 非技术区
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧