且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

CuteEditor.Editor+a+a+c+a+a.a() System.RuntimeType.get_Assembly() 问题解决方法

更新时间:2022-09-14 19:15:03

问题:

Server Error in '/' Application.


Attempt by method 'CuteEditor.Editor+a+a+c+a+a.a()' to access method 'System.RuntimeType.get_Assembly()' failed.

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.MethodAccessException: Attempt by method 'CuteEditor.Editor+a+a+c+a+a.a()' to access method 'System.RuntimeType.get_Assembly()' failed.

方法:

在web.config文件中system.web段落加入:

<trust level="Full"/>




本文转自94cool博客园博客,原文链接:http://www.cnblogs.com/94cool/p/3450472.html,如需转载请自行联系原作者