开发者

ASP.NET Reportviewer shows reports when i use sessionstate "InProc" but does not when i use "StateServer"

开发者 https://www.devze.com 2023-03-05 11:33 出处:网络
Ihave my asp.net state service enabled and configured my session state config as per below but my reports keep saying \"ASP.NET session has expired\" when i try to generate my reports using reportview

I have my asp.net state service enabled and configured my session state config as per below but my reports keep saying "ASP.NET session has expired" when i try to generate my reports using reportviewer (I am using VS2005):

<sessionState mode="StateServer" stateConnectionString="tcpip=localhost:42424" cookieless="false" timeout="80"/>

Now, it does work when using in process session state as follows:

<sessi开发者_如何转开发onState mode="InProc" timeout="80"/>

I want to use StateServer out-of-process session state but my reports always expire. Any idea why? Thanks.


Reportviewer should still work using StateServer as stated on this link. To use StateServer, the "ASP.NET State Service" must be running.

0

精彩评论

暂无评论...
验证码 换一张
取 消