Originally Posted 20 July 2014, 10:39 am ESTI am trying to deploy the C1ReportViewer in a medium trust environment on a shared hosting plan. Reflection and OleDB permissions are allowed. I have attached a zip of the test application that is using the same config file as the server.
When I run the application, I get the following exception:
An exception of type 'System.TypeInitializationException' occurred in C1.Web.Wijmo.Controls.4.dll but was not handled in user code
Additional information: The type initializer for 'C1.Web.Wijmo.Controls.C1ReportViewer.ReportService.CachedDocument' threw an exception.
Can you tell me what I need to do to get the application to run under medium trust?