This is a migrated thread and some comments may be shown as answers.

How do i debug a report?!

1 Answer 456 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 10 Apr 2018, 09:22 PM

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

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 13 Apr 2018, 03:20 PM
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
Tags
General Discussions
Asked by
Mike
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or