SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On



Exporting Report from reportviewer control throws error of Session timeout Expand / Collapse
Author
Message
Posted Wednesday, November 18, 2009 7:53 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, March 08, 2010 2:03 PM
Points: 61, Visits: 148
I have developed and deployed report on reporting server and added that report in aspx page using report viewer control. aspx page will open it as a modal dialogue box. I am able to see the report but when I am trying to export the report to EXCEL or any other format it breaks and throws the Session time out error. This happens when I am opening in modal pop up. I tried to export the report using simple aspx page and it worked. What could be the issue? Why reportviewer control is not working in modal pop up box of aspx web page?

It throws the following Error:

ASP.NET session has expired
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

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

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[AspNetSessionExpiredException: ASP.NET session has expired]
Microsoft.Reporting.WebForms.ReportDataOperation..ctor() +613
Microsoft.Reporting.WebForms.HttpHandler.GetHandler() +333
Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context) +13
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082





Thanks.

Gunjan.
Post #821329
« Prev Topic | Next Topic »


Permissions Expand / Collapse