I am using the ReportViewer control on an ASP.NET web page and when deployed to a hosting site I get the following 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.
I realize that this is caused because I am now running in a Medium trust mode as opposed to Full trust when developing.
I am having a hard time finding a solution to allow the ReportViewer control to run in the Medium trust environment.