Consider the following scenario:
- You create a Web application that is not run at the Full Trust level.
- The application uses the Microsoft Visual Studio 2008 ReportViewer control (ReportViewer 9.0) on a Web page.
- You try to view this Web page.
System.Security.SecurityException: That assembly does not allow partially trusted callers.
Note This problem does not occur if the application uses the Visual Studio 2005 ReportViewer control (ReportViewer 8.0).