我把ExtAspNet做的程序放在一台服务器的共享目录下,共享目录是:\\10.86.1.165\sis\map_web,然后另一台服务器上布置虚拟目录,它的路径指向共享目录,然后访问运行程序出错:
Server Error in '/map1' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (\\10.86.1.165\sis\map_web\web.config line 36)
Source Error:
Line 34: </pages>
Line 35: <httpModules>
Line 36: <add name="ExtAspNetScriptModule" type="ExtAspNet.ScriptModule, ExtAspNet" />
Line 37: </httpModules>
Line 38: <httpHandlers>
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618