加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

.net – 关于强名称验证跳过的奇怪问题

发布时间:2020-12-16 03:20:35 所属栏目:asp.Net 来源:网络整理
导读:我的ASP.NET应用程序使用的是没有强名称的程序集.当我在IE中运行它时,它显示错误说: Could not load file or assemlby ‘xxxxx.’ or one of its dependencies. Strong name signatuer could not be verified. The assembly may have been tampered with,or
我的ASP.NET应用程序使用的是没有强名称的程序集.当我在IE中运行它时,它显示错误说:

Could not load file or assemlby ‘xxxxx.’ or one of its dependencies. Strong name signatuer could not be verified. The assembly may have been tampered with,or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)”

我使用sn.exe -Vr xxxx来注册该程序集以跳过强名称验证,但它仍显示该错误.什么可能导致这个问题,我可以做些什么来解决它?

解决方法

这是因为您使用32位sn.exe来取消64位计算机中的程序集,反之亦然.使用正确的sn.exe来解决此问题.请参阅 hyperlink以获得解决方案

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读