创建一个简单的窗体控件,包含了一些非托管代码,能在WindowsFormApplication中正常使用,但是IE中使用就不行了。需要权限之类,是非托管代码的原因,提示信息如下:-----------------------------------------------------------
Microsoft .NET Framework
Application atempted to perform an operation not
allowed by the security policy. To grant this
applicaiton the required permission , contact your system
administrator, or use the Microsoft .NET Framework
Configuration tool.If you click Continue, the application will ignore this
error and attempt to continue.Request for the permission of type
'System.Security.Permissions.SecurityPermission,
mscorlib, version=2.0.0.0, Cultrue=neutral,
PublicKeyToken=xxxxxxxx' failed.
----------------------------------------------------------- 1.包含非托管代码的窗体控件确定能在IE下使用吗?2.在管理工具的.net 配置里设置了可以访问非托管代码还是原来的错误,请教如何解决?
Microsoft .NET Framework
Application atempted to perform an operation not
allowed by the security policy. To grant this
applicaiton the required permission , contact your system
administrator, or use the Microsoft .NET Framework
Configuration tool.If you click Continue, the application will ignore this
error and attempt to continue.Request for the permission of type
'System.Security.Permissions.SecurityPermission,
mscorlib, version=2.0.0.0, Cultrue=neutral,
PublicKeyToken=xxxxxxxx' failed.
----------------------------------------------------------- 1.包含非托管代码的窗体控件确定能在IE下使用吗?2.在管理工具的.net 配置里设置了可以访问非托管代码还是原来的错误,请教如何解决?
解决方案 »
- 框架换肤问题
- 一个javascript写的数学公式转为C#该怎么写??
- 如何让asp.net2.0的TreeView点击结点后不发生返回服务器.
- 100求解,关于logout
- 邦定星期的问题,估计是没多少人知道!!!高手才可以进!!!在线等
- 求《ASP.NET电子商务入门经典——Visual Basic.NET编程篇》源码?
- 关于一个 bool 型的一个方法的使用问题?
- 求助图片与文字混排的新闻发布与新闻浏览实现思路!!
- 分享到qq空间代码
- 请各位指教!!!!!!!!!!!!!!!
- 同样的有问题的sql 语句,跟sqlserver连接,可以运行过去,跟access 连接,就会被中断运行
- string 转换 char
是B/S应用程序运行的环境给的权限不够。。估计配置一下IIS或webconfig就可以了.