tags:

views:

2

answers:

0

Hi, this kind of a two part question. Is there any way to handle an error that is displayed inside a report, such as an error returned from a stored procedure? I have a page with the ReportViewer control on it, but I don't really have any control over the rdl's or the sprocs, so it's possible that something will go wrong. Currently I'm just getting the following error:

An error has occurred during report processing. Query execution failed for dataset 'XXXX'. For more information about this error navigate to the report server on the local server machine, or enable remote errors If at all possible I would like to handle this error myself and show a message that's consistent with the rest of the site. I've attempted to handle the ReportError event, but this seems to only fire when there's an issue with the viewer itself, not what it's showing.