本文介绍了使用Sentinel HL保护Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我使用Sentinel HL成功保护桌面应用程序。但是当我想保护我的网络应用程序(.net mvc)时,我获得了HASPDotNetDllBroken状态。我的代码:

Hi,
I successfully protect desktop application with Sentinel HL. But when I want to protect my web app (.net mvc), I get HASPDotNetDllBroken status. My code:

using(Hasp hasp=new Hasp())
{
    HaspStatus status = hasp.Login(vendorCode, localScope);
    return status.ToString();
}





我在网上看到,这是dll文件的问题(路径,丢失......)。我将所有必需的dll文件添加到bin文件夹中(我还在我的MVC项目中添加了对这些文件的引用)。这可能有问题,因为我在localhost(ISS)上运行我的Web应用程序?当他想找到钥匙而找不到它时会出现问题吗?



有没有人有任何想法?



谢谢



I read on the web, that this is problem with dll files (path, missing...). I added all required dll files to the bin folder (I also added a references to this files in the my MVC project). It can be problem because I run my web app at the localhost (ISS)? And the problem arises when he wants to find the keys and can not find it?

Does anyone have any idea?

Thanks

推荐答案


这篇关于使用Sentinel HL保护Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 09:54