代码在本机和服务器上都是正常的 ,可一放到客户购买的空间上就出问题了。
我发现只要是使用了Netadvantage 控件和AspNetPager 控件的页面就会出错,而没有用的页面则是正常的。下面是出错信息,大家帮忙看看哈
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.