﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Reporting Services / Reporting Services  / Exporting Report from reportviewer control throws error of Session timeout / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 21 May 2013 18:23:13 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Exporting Report from reportviewer control throws error of Session timeout</title><link>http://www.sqlservercentral.com/Forums/Topic821329-150-1.aspx</link><description>I have had the same problem, the reports export ok when running the web site locally under local host, but not when in the production environment, the only way I can get it to work was by enabling cookies in the web config file but this causes other problems and I can't find a way of enabling cookies for a single page, have you (Gunjan)had any successThanks David</description><pubDate>Thu, 07 Jun 2012 08:28:32 GMT</pubDate><dc:creator>david 82041</dc:creator></item><item><title>Exporting Report from reportviewer control throws error of Session timeout</title><link>http://www.sqlservercentral.com/Forums/Topic821329-150-1.aspx</link><description>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 expiredSource 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&amp; completedSynchronously) +75 --------------------------------------------------------------------------------Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082 </description><pubDate>Wed, 18 Nov 2009 19:53:01 GMT</pubDate><dc:creator>Gunjan</dc:creator></item></channel></rss>