C1ReportViewer in Medium Trust

Originally Posted 20 July 2014, 10:39 am EST

  • Originally Posted 20 July 2014, 10:39 am EST

    I 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?

    Thanks
  • Reply

    I have attached a new zip that does not include the componentone dlls:
    C1.C1Report.4.dll
    C1.Web.Wijmo.Controls.4.dll
    App_Licenses.dll
    2014/07/TestSite.zip
  • Reply

    Hello Bjwood98,

    The C1ReportViewer control can not be used in partial trust environment. This is known limitation.

    Thanks,
    Richa
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels