Viewer paging issues and more...

Stimulsoft Reports.WEB discussion
Post Reply
lloydk
Posts: 15
Joined: Fri Aug 10, 2012 2:41 pm

Viewer paging issues and more...

Post by lloydk »

I've just started using Stimulsoft for reporting as I have to build a web portal to some of our existing Stimulsoft reports.

I started an ASP.NET 4 Web Project with a single page, dumped an StiWebViewer at it and pointed it to and MRT file. However we're getting some odd behaviour.

Firstly, sometimes the report refuses to run, it will throw an "Invalid cast" error or "The state information is invalid for this page and might be corrupted.". When it does run, if I try and switch between pages the AJAX calls go through BUT nothing happens, we get about as far as say page 2/8 then it just sticks on that page.

The report runs fine in the Report Designer as far as I can tell?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Viewer paging issues and more...

Post by HighAley »

Hello.

Please, try to set the RenderMode="AjaxWithCache" of the StiWebViewer.

Thank you.
lloydk
Posts: 15
Joined: Fri Aug 10, 2012 2:41 pm

Re: Viewer paging issues and more...

Post by lloydk »

Hi,

It's already set to that.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Viewer paging issues and more...

Post by Vladimir »

Hello,

Please specify:
1. Does the specified error depend on the browser?
2. Which version of IIS server are you using?
3. Is the caching and data compression enabled on the server side? If so, please try to disable it for testing.

Thank you.
lloydk
Posts: 15
Joined: Fri Aug 10, 2012 2:41 pm

Re: Viewer paging issues and more...

Post by lloydk »

1. Any browser, I used Firefox, Chrome and IE.
2. IIS7.5 on Windows 7 & Server 2008R2.
3. Tested with both caching and compression on and off, makes no difference.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Viewer paging issues and more...

Post by HighAley »

Hello.

We couldn't reproduce your issue. Please, send us a sample project to reproduce it.

Thank you.
lloydk
Posts: 15
Joined: Fri Aug 10, 2012 2:41 pm

Re: Viewer paging issues and more...

Post by lloydk »

Hi,

I was calling webViewer.ResetCurrentPage() in the Page_Load event of the page which seems to be the cause of this problem. Removing it and the page pages fine.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Viewer paging issues and more...

Post by HighAley »

Hello.
lloydk wrote:I was calling webViewer.ResetCurrentPage() in the Page_Load event of the page which seems to be the cause of this problem. Removing it and the page pages fine.
You don't need this method.
Let us know if you will have any problems else.

Thank you.
Post Reply