Your application is not running with full trust
Posted on: Friday, November 28th, 2008 in: DotNetYour application is not running with full trust
问题描述:
当我使用AspxLab.WebControls控件时出现了一下错误
安全性异常
说明: 应用程序试图执行安全策略不允许的操作。要授予此应用程序所需的权限,请与系统管理员联系,或在配置文件中更改该应用程序的信任级别。
异常详细信息: System.Security.SecurityException: Your application is not running with full trust. Please call AspxLab.WebControls.Runtime.Initialize to manually initialize AspxLab Controls runtime environment.
解决方法:
在system.web节点下添加
<httpModules>
<add name=“ASPXLAbsRuntime“ type=“AspxLab.WebControls.Runtime“/>
</httpModules>















