Showing posts with label session. Show all posts
Showing posts with label session. Show all posts

Friday, March 30, 2012

reportviewer control with asp.net session expired

I embed a report viewer control into a sharepoint web part to generate a
report.
it works very well in firefox. but once open it in IE6, the error message
will be:
ASP.NET sesison has expired.
I got a solution from internet, it says set "AsyncRendering = False".
it will generate the report once without any images appeared if report has
some images. and if I click the link in the report, the same error message
appears:
ASP.NET sesison has expired.
how can I get it fixed? any ideas would be very appericiated!As a compliment:
if I open the sharepoint page in local server, everything works fine.
so what's on hell the problem?
"dongwang" wrote:
> I embed a report viewer control into a sharepoint web part to generate a
> report.
> it works very well in firefox. but once open it in IE6, the error message
> will be:
> ASP.NET sesison has expired.
> I got a solution from internet, it says set "AsyncRendering = False".
> it will generate the report once without any images appeared if report has
> some images. and if I click the link in the report, the same error message
> appears:
> ASP.NET sesison has expired.
> how can I get it fixed? any ideas would be very appericiated!
>|||got solved. but not sure what's happening.
there is a dash in the server name. after geting rid of the dash or using IP
address, it works fine.
"dongwang" wrote:
> As a compliment:
> if I open the sharepoint page in local server, everything works fine.
> so what's on hell the problem?
> "dongwang" wrote:
> > I embed a report viewer control into a sharepoint web part to generate a
> > report.
> > it works very well in firefox. but once open it in IE6, the error message
> > will be:
> >
> > ASP.NET sesison has expired.
> >
> > I got a solution from internet, it says set "AsyncRendering = False".
> > it will generate the report once without any images appeared if report has
> > some images. and if I click the link in the report, the same error message
> > appears:
> > ASP.NET sesison has expired.
> >
> > how can I get it fixed? any ideas would be very appericiated!
> >sql

Wednesday, March 28, 2012

ReportViewer AspNetSessionExpiredException

I get a

Microsoft.Reporting.WebForms.AspNetSessionExpiredException: ASP.NET session has expired

immediately when a user clicks the Export link on the ReportViewer. I tested it on two other machines and it works. What would cause this?

I have a similar problem but could not solve it yet (as a matter of fact, did not go deep into it). Here is a post that I posted in MSDN forums, which has some possible solutions. It might solve your problem. If it does, please let me know what you did to solve it.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1357694&SiteID=1

|||

I had the same trouble and the solution of limit MaxWorkingProcesses to 1 commented in that post, solved the problem.