跳过 Windows 7 IIS 7.5 的强名称程序集仍然会出现错误“无法验证”
环境 Windows 7 IIS7.5 64 位
我有一个 ASP.NET 网站 traget 框架 4.0,我有一个 dll,其源代码不在我身边,而且它已经是一个延迟签名的程序集。现在我添加了该程序集,用于使用 Sn -Vr *, Token 跳过强名称验证。它在VS2010中得到了编译,如果我按F5它就会成功运行。但我需要添加为 IIS 下的网站,以便其他应用程序将其用作 Web 服务。因此,当我将其添加为 IIS 下的网站并运行时,它会显示相同的错误“无法验证强名称签名者”。但它可以在 VS2010 上运行,但不能在 IIS 上运行,为什么? 我尝试在 Windows 7 32 位 IIS 7.5 上做同样的事情并且工作正常,所以这与 64 位操作系统有关吗?请帮忙。
Environment Windows 7 IIS7.5 64 bit
I have an ASP.NET website traget framework 4.0 and I have a dll whose source code isn't with me and it's already a delayed signed assembly. Now I have added that assembly for skipping strong name verification using Sn -Vr *, Token. It got complied in VS2010 and If I press F5 it runs sucessfully. But I would need to add as a website under IIS to be used by other application as its a webservice. So when I am adding it as a website under IIS and running it shows the same error "Strong name signatuer could not be verified." but it's working from VS2010 instead but not from IIS why?
I tried doing the same with a Windows 7 32 bit IIS 7.5 and is working, so it is some thing to do with 64 bit OS? Please help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论