ASP.NET session has expired or could not be found -> Because the Session.SessionID changes (Reporting Services)

前端 未结 10 1303
粉色の甜心
粉色の甜心 2020-12-31 10:04

1.-I\'m using reporting services and sometimes I get this error ASP.NET session has expired or could not be found when I try to load a report.

2.-I real

相关标签:
10条回答
  • 2020-12-31 10:12

    For me Azure hosted web app turning ON - ARR Affinity fixed the issue.

    ARR Affinity ON

    0 讨论(0)
  • 2020-12-31 10:13

    Try removing SessionState="somevalue" tag from the top of your calling ASPX page. I'm using a custom SessionState and refuse to use InProc since I have multiple instances on Azure. You can even use AsyncRendering=True if you desire. Let me know if this did the trick for you.

    0 讨论(0)
  • 2020-12-31 10:15

    Increase the value "MaxActiveReqForOneUser"

    "C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config"

    **<Add Key="MaxActiveReqForOneUser" Value="200"/>**
    
    0 讨论(0)
  • 2020-12-31 10:17

    I'm using report viewer 11.0.0; in your web config on system.web section, put the next configuration:

    <sessionState timeout ="120" mode="InProc" cookieless="false" />
    

    When you are generating the report (C# code bellow) in the reportviewer object change the KeepSessionAlive property to false and the AsynkRendering property to false, and that's all

            this.rvReporte.KeepSessionAlive = false;
            this.rvReporte.AsyncRendering = false;
    

    (rvReporte) is a ReportViewer control located on my asp.net Form This solution work for me, i hope that work for other people.

    Regards

    0 讨论(0)
  • 2020-12-31 10:19

    I solved this issue by setting AsyncRendering to false on reportviewer server control

    0 讨论(0)
  • 2020-12-31 10:32
    <httpCookies httpOnlyCookies="false" requireSSL="false"/>
    

    Solved the problem. Thanks to : http://www.c-sharpcorner.com/Blogs/8786/reportviewer-Asp-Net-session-has-expired.aspx

    0 讨论(0)
提交回复
热议问题