Generic document processing error when using WebViewer

Posted by: jnissen on 28 December 2022, 2:00 pm EST

    • Post Options:
    • Link

    Posted 28 December 2022, 2:00 pm EST - Updated 28 December 2022, 2:05 pm EST

    I have a MVC web app that I am adding ActiveReports to for reporting purposes. I have one of our reports converted over and when running from in the designer I have no issues. But when trying to view that same report in the WebViewer I am met with a very generic “Document processing error”. I have been looking high and low for an answer but cannot find anything in the documentation nor have I found anyone else seeing that same error message.

    My aspx page is just the WebViewer control with no modifications to it, and I am loading the report in the code as follows:

    PageReport pageReport = new PageReport();
    FileInfo reportFile = new FileInfo(Server.MapPath("~") + @"\Report_Files\r_Itasks.rdlx");
    pageReport.Load(reportFile);
    WebViewer1.Report = pageReport;

    Attached is a screenshot of the error I am seeing. Does anyone have any ideas what I’m doing wrong?

    Thank you,

    Joseph

  • Posted 29 December 2022, 5:50 am EST

    Hi Joseph,

    We were not able to replicate this behavior on our end using an ASP.NET WebViewer Sample.

    We have used the exact code you specified. However, on our end, the report loads as expected.

    Please find attached the sample we have used, you may modify the sample to suit your needs.

    If the issue persists please try sharing a stripped-down sample or modify our attached sample such that it replicates the issue so we could investigate this issue further.

    Regards,

    Anand

    WebViewer_ASP.NET_C#.zip

Need extra support?

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

Learn More

Forum Channels