none
Reportviewer "ASP.NET session has expired" when exporting to some clients RRS feed

  • Question

  • I have an web application developed in Visual Studio 2008, .NET Framework 3.5 SP1 with a page that uses a ReportViewer.  The remote report is generated with the parameters on the page that uses AjaxControlToolkit extensions (3.5).   The SSRS is generated from a SQL 2005 database.  the report is generated and viewed by all users.  The problem is when some user try to export the report, the intermediate window has the "ASP.NET session has expired" exception.  All users must use SSL and the site is set to trusted site to allow cookies from the site. 
    When a user gets this exceptions, the print function also will not download the active-x control.  Other users in the same network can export and print with no problems.

     

     

    <%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

    <rsweb:ReportViewer ID="rvSearch" runat="server" BackColor="#ABA689" ShowCredentialPrompts="False" ShowDocumentMapButton="False" ShowParameterPrompts="False" Font-Names="Verdana" Font-Size="8pt" ProcessingMode="Remote" PromptAreaCollapsed="True" Width="100%" Height="600px" AsyncRendering="False" BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px" ExportContentDisposition="AlwaysAttachment" ShowFindControls="False" SizeToReportContent="True">

    <ServerReport DisplayName="Citation Search" ReportPath="/COORSClaims/CitationSearch" ReportServerUrl="<%$ AppSettings:ReportServerURL %>" />

    </rsweb:ReportViewer>

    Thursday, August 6, 2009 4:37 PM

All replies