会议同时2.0应用程序迁移ASP.NET的到IIS 7.5上的大I / P负载均衡环境丢失。在Windows Server工作正常,2000和2003 [英] Session lost while migrating of ASP.NET 2.0 Applications to IIS 7.5 on Big I/p load balancing environment. Works fine in Windows Server 2000 and 2003

查看:110
本文介绍了会议同时2.0应用程序迁移ASP.NET的到IIS 7.5上的大I / P负载均衡环境丢失。在Windows Server工作正常,2000和2003的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在IIS 7.5中动了我的应用程序从Windows 2000的至2008年,我可以设置所有的.NET应用程序的成功。我有网FAMR设置与通过大I / P两台服务器负载均衡。当我访问应用程序,我觉得会议正在成为空和丢失。它是零星的,没有发生所有的时间。使用IAM进程内会话状态。我用Google搜索,并尝试了很多很多的选择像
- 设置IIS-> ASP的>会话级>生成新的会话ID为false;
和其他一些配置更改。

I have moved my applications from windows 2000 to 2008. I could setup all .net applications successfully in IIS 7.5. I have web famr setup with load balancing on two servers through Big I/p. When I access the applications I find the session is becoming null and lost. It is sporadic and not happening all the time. Iam using inproc session state. I have googled and tried out lot of lot of options like - setting IIS->ASP-> Session-> Generate New Session ID to false; and some other configuration changes.

使用程序池作为.NET 2.0集成模式荫。我甚至将允许32位应用程序=真也。

Iam using apppool as .net 2.0 with integrate Mode. I have even set enable 32 bit applications = true also.

我已经在我的web.config配置Sessiontimeout =240。

I have already configured Sessiontimeout="240" in my web.config.

有些时候,如果我刷新网页它做工精细,并得到填充会话。
面对荫亚姆时重定向到其他页面和会话值的问题是,页面加载时成为空。

Some times if I refresh the web page it is working fine and getting the session populated. Iam facing the issue when Iam redirecting to some other page and session value is becoming null during that page load.

我要访问仅在INPROC国家的应用程序。请请说明正确的配置。

I want to access the apps only in Inproc State. Kindly please suggest correct configuration.

推荐答案

我有同样的问题,因为IIS7网站的应用程序池有一些最大工作进程大于1(在应用程序池的高级设置)。因此,网站运行为Web园,并在会议正在进程之间丢失。

I had the same issue because the site's app pool in IIS7 had a number of max worker processes greater than 1 (under the app pool's advanced settings). So the site was running as a 'web garden', and the session was being lost between processes.

有关我的修正,我改变工作进程的最大数量为1,但也有一些解决方案。

For my fix, I changed the max number of worker processes to 1, but there are a few resolutions.

此链接提供了有关Web园的详细信息(尽管它IIS6)的 http://nicholas.piasecki.name/blog/2009/02/on-web-gardens-aspnet-and-iis-60/

This link gives more info on web gardens (albeit it IIS6) http://nicholas.piasecki.name/blog/2009/02/on-web-gardens-aspnet-and-iis-60/

这篇关于会议同时2.0应用程序迁移ASP.NET的到IIS 7.5上的大I / P负载均衡环境丢失。在Windows Server工作正常,2000和2003的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆