C1ReportViewer sample code

Posted by: debarupa2012 on 10 September 2017, 11:49 am EST

  • Posted 10 September 2017, 11:49 am EST

    Can you give me a sample code of the C1ReportViewer working properly. I followed the steps in the documentation (ReportViewer for ASP.NET Wijmo Quick Start) but it is not working for me. It says:
    The type initializer for 'C1.C1Preview.C1PrintDocument' threw an exception.

    Thanks,
    Debarupa
  • Replied 10 September 2017, 11:49 am EST

    Hello Debarupa,

    I tried the same and it worked properly at my end. Could you kindly modify the attached sample so that it replicates the issue ?

    Also, you may also try adding C1.C1Report.4 dll manually to the bin folder and then, Rebuild the application.

    Regards
    2012/09/ReportViewerQuickStart.zip
  • Replied 10 September 2017, 11:49 am EST

    Tried to run this but getting the following error:

    The 'reportService.ashx' HTTP handler need to be upgraded (the new version is 120310). Please delete reportService.ashx from site root or update version to 120310.
  • Replied 10 September 2017, 11:49 am EST

    Hello Debarupa,

    Kindly delete 'reportService.ashx' handler and Rebuild the application.

    If the problem persists, then let me know the version of C1Report and Wijmo control dll's which you are using.

    Regards
Need extra support?

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

Learn More

Forum Channels