Web场环境中的状态服务器

编程入门 行业动态 更新时间:2024-10-28 11:22:09
本文介绍了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场环境中的状态服务器

本文发布于:2023-11-23 11:26:32,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1621275.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:状态   环境   服务器   Web

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!