Author: terrysmith | Posted on: 12/17/2009 5:53:26 PM | Views : 310

I've moved our ASP.NET application to a recently-reinstalled Windows 7 machine. I have a .ashx handler that returns in-line charts. When I reference the URL and parameters directly, I get this exception:
Security Exception 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.


In IIS 7 when I look at the .NET Trust Levels at the application level, it says "Full (internal)". All of the application sub-folders are inheriting this setting. Doesn't that mean every ...

Go to the complete details ...