Navigation in rdl file results in asp.net session expires in ssrs 2005

Resposta Proposta Navigation in rdl file results in asp.net session expires in ssrs 2005

  • Thursday, January 03, 2013 6:07 PM
     
     

    Hi all,

    In our application we are using report viewer control to display the rdl file. When we run any report and  navigate to second page of it through reportviewer inbuilt navigation control, and then clear the browser history in IE(report is opened in IE browser) and then go to the previous page i.e on first page it says"ASP.NET session has expired".

    Why this is happening???

    Any idea.??

    regards

    Shambhu

All Replies

  • Friday, January 04, 2013 7:18 PM
     
     Proposed

    This can be resolved by enabling the autorefresh check box in the report.

    To do this open your report and right click out side the page area in your design tab of the report then select Properties and in the general tab enable the checkbox of autorefresh to no of seconds you want the page to be refreshed also you can go to Report-Report Properties in the main toolbar.

    Also, you may check this: ASP.NET session has expired for a remote processing report

  • Monday, January 07, 2013 11:58 AM
     
     

    Thanks for reply

    But in this case if we are setting refresh time to 50 second if we are trying to navigate at t=30 sec it says the same error. If we are keeping refresh time short say 10 second, then after every 10 second it reloads itself, client does not want this to happen.

    Any other idea.

    Can we put something in httpHandler through it is calling the report in we config, currently we have this section like.

    <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
            validate="false" /> 

    when we navigate to first page at which session expire occurs we got this handler mapping

    GET /myApp/Reserved.ReportViewerWebControl.axd?ReportSession=f2fut2aeami1ih55nhklsa55&ControlID=c6fb9177f1474599abb7aaad8cf28d2e&Culture=1033&UICulture=1033&ReportStack=1&OpType=SessionKeepAlive&TimerMethod=KeepAliveMethodReportViewer1TouchSession0&CacheSeed=Mon%20Jan%207%2016%3A54%3A15%20UTC%2B0530%202013 HTTP/1.1