作者:张春雷11111 | 来源:互联网 | 2023-06-04 16:58
MyASP.NETapplicationisusinganassemblywithoutstrongname.WhenIrunitinIE,itshowsaner
My ASP.NET application is using an assembly without strong name. When I run it in IE, it shows an error saying:
我的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)"
无法加载或组装文件。或者是它的一个附属品。强名称签署者无法验证。程序集可能被篡改过,或者被延迟签名,但是没有使用正确的私钥完全签名。(从HRESULT例外:0 x80131045)”
I use sn.exe -Vr xxxx
to register that assembly to skip the strong name verification, but still it shows that error. What could be causing this problem, and what can I do next to fix it?
我使用sn。exe -Vr xxxx注册该程序集以跳过强名称验证,但仍然显示该错误。造成这个问题的原因是什么?我下一步该怎么做?
2 个解决方案