我最近的项目遇到一个棘手的问题项目中用到了EnterpriseLibrary 在本地程序是很好的 可是传到服务器上,只要有页面用到了EnterpriseLibrary 访问数据库就会出现 如下错误:Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: System.Security.SecurityException: That assembly does not allow partially trusted callers.我为这个问题2天没睡好觉了 大侠们快来帮我啊
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: System.Security.SecurityException: That assembly does not allow partially trusted callers.我为这个问题2天没睡好觉了 大侠们快来帮我啊
server install EnterpriseLibrary
Using Enterprise Library in ASP.NET 2.0 Partial Trust Mode
http://www.devx.com/dotnet/Article/32951/0/page/1