VS2010 : 在web应用程序中的Microsoft.ReportViewer Version=10.0.0.0,客户端在使用时经常会报:ASP.NET session has expired or could not be found,刷新下Report又能正常顯示,過段時間刷新可能又會出現...
有碰到過解決了該問題的嗎???

解决方案 »

  1.   

    打开(enable) autorefresh 属性
      

  2.   

    打开(enable) autorefresh 属性沒有找到autorefresh這個屬性呀...
      

  3.   

    加上代碼寫法:
                    DataTable dtValue = GetValue();
                    ReportDataSource dsValue = new ReportDataSource("DataTable_dtValue", dtValue);
                    rvReport.Reset();
                    rvReport.LocalReport.DataSources.Clear();
                    rvReport.ProcessingMode = ProcessingMode.Local;
                    rvReport.LocalReport.DataSources.Add(dsValue );
                    rvReport.LocalReport.ReportPath = "Reprot.rdlc";
                    rvReport.LocalReport.Refresh();
      

  4.   

    http://msdn.microsoft.com/zh-cn/library/microsoft.reportingservices.reportrendering.report.autorefresh.aspx
      

  5.   

    http://www.morrenth.com/handle-error-aspnet-session-has-expired-or-could-not-be-found-at-microsoftreportingwebformsviewerdataoperation.aspx这个里面讲了两个方法