ASP.NET session has expired

ASP.NET session has expired          说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。            

异常详细信息: Microsoft.Reporting.WebForms.AspNetSessionExpiredException: ASP.NET session has expired

 

网上的回答:

There is a known bug with the viewer in when ASP.Net is set to use cookieless sessions.

The problem is most likely that you are using in-proc session state (the default).  When you use in-proc session and have two worker processes, each one has its own independent version of session.  As a result, if a request for the aspx page is routed to one worker process, but the request for the report content goes to the other process, the second request will not find a session and assume it has expired, generated the error you see.  The two ways to work around this are to either use only a single worker process or to use out-of-proc session state, such as SQL Server.  See this article for more details:

 ------------------------------------

我是将应用程序池的模式由经典改成集成解决。。。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值