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