Using the Web Report Viewer how can one redirect the client to an error page when there is an error processing the report?
In order to help stem performance issues from users running reports that result in to large of a data set (20,000+ records). We throw an exception in the reports NeedDatasource event. However since reports aren't run in the context of the page (their run from the report handler) the exception doesn't bubble up to a level that we can redirect at the server level.
Is there a way of handling the error on the client and redirecting.
Using the message value of the exception I can display a "useful" error message to the user since the report view displays the Exception.Error message. However i'd prefer to redirect them to a more meaningful page.
If not is there a way to localize the "An error has occurred while processing Report" Text?
In order to help stem performance issues from users running reports that result in to large of a data set (20,000+ records). We throw an exception in the reports NeedDatasource event. However since reports aren't run in the context of the page (their run from the report handler) the exception doesn't bubble up to a level that we can redirect at the server level.
Is there a way of handling the error on the client and redirecting.
Using the message value of the exception I can display a "useful" error message to the user since the report view displays the Exception.Error message. However i'd prefer to redirect them to a more meaningful page.
If not is there a way to localize the "An error has occurred while processing Report" Text?