" system.security.permissions.h ... [英] "system.security.permissions.h...

查看:73
本文介绍了" system.security.permissions.h ...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一个应用程序,运行正常。但是当我将软件上传到我的客户机之一时,它会出现以下错误。 system.security.permissions.hostprotectionattribute from assembly mscorlib 。我使用的是c#windows应用程序和数据库是访问。



注意:在获取交易记录时,只有在报告中记录时出现上述错误没有问题,这只发生在我的一个客户端电脑和我的电脑和其他电脑工作正常。



提前谢谢。

i have developed an application and it is running fine. But when i uploded the software to one of my client machine it gives the following error.system.security.permissions.hostprotectionattribute from assembly mscorlib.I Am using c# windows application and database is access.

Note: On getting records in transaction there is no problem just on getting record in report it is giving the above error and this only happens in one of my client pc and works fine with my pc and other pc's.

Thank you in advance.

推荐答案

他们是从网络共享运行.EXE吗?
Are they running the .EXE from a network share?


解决了它: - 因为防病毒软件和防火墙没有授予我许可。
Solved it :- as anti-virus software and firewall were not granting me permission.


这篇关于" system.security.permissions.h ...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆