虚拟主机上asp.net运行权限不足问题及解决
日期:2009年1月28日 作者:-
有些时候我们写的asp.net应用程序是运行在虚拟主机上。有一些虚拟主机可能是由于安全的考虑,对asp.net做了权限设置,会导致我们的应用程序无法正常运行。
问题现象:
由于某种原因,asp.net不能加载某些dll文件,出现如下错误提示: Server Error in '/' Application.
---------------------------------------------Required permissions cannot be acquired.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Security.Policy.PolicyException: Required permissions cannot be acquired.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[PolicyException: Required permissions cannot be acquired.]
System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) +2738293
System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission) +57[FileLoadException: Could not load file or assembly 'Microsoft.Practices.ObjectBuilder, Version=1.0.51205.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
- [1] [2] [3] [4] 下一页
-
- 虚拟主机上asp.net运行权限不足问题及解决 相关文章:
- 虚拟主机上asp.net运行权限不足问题及解决 相关软件
- 特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作
- 者.文章版权归文章原始作者所有.对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转
- 载的文章有版权问题请联系编辑人员,我们尽快予以更正. 转载请注明来源:http://www.hackhome.com
| ·3dBody.Net三维交互式数字人体解剖软件 3.0 |
| ·全国职称计算机考试模拟系统-Internet应用 08.1.1 |
| ·《辐射2》窗口化运行补丁 |
| ·网页设计技巧及网页制作常见问题 |
| ·中星睿典全国专业技术人员计算机应用能力考试(Internet模块) 2009.0.1 |
| ·《魔戒:中土大战》完美解除自爆问题补丁 |
| ·用VB.NET和C#.NET开发交互 |
| ·发电厂运行仿真分析系统 2.0 |
上一篇:C#中的类型相等与恒等(Equality & Identity)
