Monday, January 11, 2016

Resolve issue with session timeout with report viewer

Issue: session error in Iframes within report viewer as shown below.


1) In the Report viewer set the KeepSessionAlive to false

<html >
<head runat="server">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <rsweb:ReportViewer ID="ReportViewer1" KeepSessionAlive="false" runat="server"></rsweb:ReportViewer>

2) Increase the session timeout
    <sessionState timeout="120" mode="InProc" cookieless="false" />

No comments:

Post a Comment