Web场环境中的状态服务器 [英] State Server in Web Farm Environment

查看:141
本文介绍了Web场环境中的状态服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在Web场中的ASP.NET 1.1中使用了InProc状态模式,因此它失败了.因此,我们使用状态服务器方法进行状态管理.
在这种方法中,我们使用批处理服务器作为状态服务器.在批处理服务器中进行了以下必要的更改.

AllowRemoteConnection设置为1.
端口号是42424(十进制),在Web服务器的web.config中提到相同.
状态服务正在运行,并且模式设置为自动".

但是,它不起作用.因此,我们已经将其中一台Web服务器用作状态服务器,它运行良好.

因此,我们认为批处理服务器中遗漏了一些修补程序,这些修补程序存在于Web服务器中.因此,我们已应用了所有缺少的修补程序,但仍然无法正常工作.

它给出以下错误消息.

无法向会话状态服务器发出会话状态请求.请确保启动ASP.NET状态服务,并且客户端和服务器端口相同.如果服务器位于远程计算机上,请通过检查HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ aspnet_state \ Parameters \ AllowRemoteConnection的值来确保它接受远程请求.
谁能帮我解决这个问题?

如果不能将批处理服务器设置为状态服务器,那么可以将其中一台Web服务器设置为状态服务器吗?优点和缺点是什么?

预先感谢,
Debopriyo.

We were using InProc State Mode in ASP.NET 1.1 in web farm, so it fails. So, we are using State Server approach for the state management.
In that approach, we are using Batch Server as the state server. The following neccessary changes have been made in Batch Server.

AllowRemoteConnection is set to 1.
Port number is 42424(decimal), mentioned the same in web.config in the web servers.
State Service is run and mode is set to Automatic.

But, it is not working. So, we have made one of the web servers as state server, it worked perfectly.

So, we thought that there are some hot fixes missed out in the batch server, which are present in the web server. So, we have applied all those missing hot fixes, but, still it is not working.

It is giving the following error message.

Unable to make the session state request to the session state server. Please ensure that the ASP.NET State service is started and that the client and server ports are the same. If the server is on a remote machine, please ensure that it accepts remote requests by checking the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection.

Can anyone help me to resolve this?

If we cannot make the Batch Server as State Server, then can we make one of the Web Server as State Server? What are the pros and cons for that?

Thanks in advance,
Debopriyo.

推荐答案

我遇到了同样的问题..您是否解决了这个问题?..如何..?...请给我反馈
same issues happened me..have u solved this issue?..how..?..please give me feed back


这篇关于Web场环境中的状态服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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