VPS Server appears unable to make the sessions state request error resolution

Source: Internet
Author: User
Tags sessions vps vps server

When the page opens, it appears if an error occurs. Processing method. Or shortly after landing, frequently returned to the login interface

Log in to server Error in '/' Application.

The code is as follows:

  code is as follows copy code
unable" to "the" Session "" "," "the Session state server.
Please ensure this ASP.net state service are started and that
the client and server ports are the same. If the server is in a remote machine,
Please ensure this it accepts remote requests by checking the value of
HKE Y_local_machinesystemcurrentcontrolsetservicesaspnet_state
Parametersallowremoteconnection. If the server is on the local machine,
and if the before mentioned registry value does not exist or are set to 0,
Then the state server connection string must use either ' localhost ' or ' 127.0.0.1 '
as the server name.


Second, "Unable to make" the Session state request solution

Open the ASP.net State service and set it to automatic. Then add a line to the <system.web> in the web.config

The code is as follows Copy Code
<sessionstate mode= "StateServer" stateconnectionstring= tcpip=127.0.0.1:42424 "timeout="/>


The specific actions are as follows:
1, select the Management tool-> service, find the ASP.net state service, click to start after the selection, and the startup type is set to Automatic
2, will web.config open, will see a line is

The code is as follows Copy Code
<sessionstate mode= "InProc" stateconnectionstring= tcpip=127.0.0.1:42424 "timeout="/>

If not, add it to the next line in <system.web>, and then change the InProc to StateServer and save it.
VPS Error Unable to make the sessions state request solution organized on the network

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.