WebViewerFx - Errors aren't raised to user - just blank

Stimulsoft Reports.WEB discussion
Post Reply
james.crossley
Posts: 28
Joined: Sun Aug 07, 2011 8:53 pm
Location: Auckland

WebViewerFx - Errors aren't raised to user - just blank

Post by james.crossley »

Have been using the WebViewerFx for some time in our application.

I'm looking for a way to notify users errors when the following occurs;
a. there's a server-side error when creating the report
b. there's a time-out if a report takes too long to create on the server

When either a. or b. occurs, nothing is displayed in the viewer to indicate something is wrong which is frustrating.

I can't see any way of catching these errors and showing a meaningful message(s).

At the minimum, it would be useful for the WebViewerFx component to display an error:

"An server error has occurred when generating the report"
or;
"A time-out has occurred when generating the report"

Is this possible?

Thanks
James
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: WebViewerFx - Errors aren't raised to user - just blank

Post by HighAley »

Hello, James.

To find out if there any error while the report is rendered you could use Render() method.
Before passing the report to WebViewerFx you could Render() the report and catch any exception. Then report will not render again by the Viewer.

What version of our product do you use? We had added timeout error message to the Viewer.

Thank you.
james.crossley
Posts: 28
Joined: Sun Aug 07, 2011 8:53 pm
Location: Auckland

Re: WebViewerFx - Errors aren't raised to user - just blank

Post by james.crossley »

Hi Aleksey

Thanks for the suggestion for using Render(). I'll look into it.

The version we're currently using is 2014.1.1900.0.

Thanks
James
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: WebViewerFx - Errors aren't raised to user - just blank

Post by HighAley »

Hello.

Please, try our latest build. There will appear a error message at timeout.

Let us know if you need any additional help.

Thank you.
james.crossley
Posts: 28
Joined: Sun Aug 07, 2011 8:53 pm
Location: Auckland

Re: WebViewerFx - Errors aren't raised to user - just blank

Post by james.crossley »

Hi Aleksey

I will try it.
Thanks very much for your help.

James
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: WebViewerFx - Errors aren't raised to user - just blank

Post by HighAley »

Hello, James.

We are always glad to help.
Let us know if you need any additional help.

Thank you.
Post Reply