How do i debug a report?!

2 posts, 0 answers
  1. Mike
    Mike avatar
    1 posts
    Member since:
    Oct 2017

    Posted 10 Apr 2018 Link to this post

    *** ReportProcessor.ProcessReport STARTED ***

    *** ProcessReport #0 STARTED ***
    Exception thrown: 'Telerik.Reporting.Processing.CancelProcessingException' in Telerik.Reporting.dll
    Exception thrown: 'Telerik.Reporting.Processing.CancelProcessingException' in Telerik.Reporting.dll
    Exception thrown: 'Telerik.Reporting.Processing.CancelProcessingException' in Telerik.Reporting.dll
    Exception thrown: 'Telerik.Reporting.Processing.CancelProcessingException' in Telerik.Reporting.dll
    Exception thrown: 'Telerik.Reporting.Processing.CancelProcessingException' in Telerik.Reporting.dll
    Exception thrown: 'Telerik.Reporting.Processing.CancelProcessingException' in Telerik.Reporting.dll
    *** ProcessReport #0 DONE in 00:00:00.2332595 ***

    Exception thrown: 'Telerik.Reporting.Processing.CancelProcessingException' in Telerik.Reporting.dll
    *** ReportProcessor.ProcessReport DONE in 00:00:00.2631089 ***

     

    Above you will find the most useless log a developer can receive.

    Obviously something went wrong, but what!? Was it the report, the datasource, a bad conditional formatting, a mistyped column!? Why not actually THROW the exception, at least visual studios will allow me to inspect the exception, and devs should be handling exceptions anyways so this isnt really doing anyone any favors. But this, the way it is now, im on a wild goose chase trying to figure this one out. What can i possibly do to help me pinpoint the exact issue!?

    Imagine you asked me for a log and the above was all i was able to produce, you wouldnt know where to begin looking would you?

  2. Todor
    Admin
    Todor avatar
    384 posts

    Posted 13 Apr 2018 Link to this post

    Hello Mike,

    The information is indeed not sufficient to locate the problem. You can test to attach a Trace Listener to the application displaying the report to see whether the information in the log file would be more detailed.

    A possible reason for throwing the 'Telerik.Reporting.Processing.CancelProcessingException' is an invalid value passed to a report parameter. However, other possibilities also exist.

    If you wish you can send us a runnable project for local investigation. You can upload it in the web and send the link so that we can download and explore it.

    Regards,
    Todor
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top