After the machine is restarted, run Web on. net2005.
Program This problem is always encountered:
Exception details: system. Web. httpexception: unable to send a session Status request to the session Status server. Make sure that ASP. Net state service has been started and the client and server ports are the same. If the server is on a remote computer, check the value of HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ aspnet_state \ Parameters \ allowremoteconnection to ensure that the server accepts remote requests.
This is because the ASP. NET state service status service is not opened, so an unprocessed exception is generated during the execution of the current Web request.
Solution:
Method 1:
Right-click "my computer"-"Computer Management"-"services and applications"-"services", and find ASP in the service. net Status Service, start ASP. net status service.
Method 2:
In web. config, the mode of sessionstate is set to StateServer, but the specified server does not enable that service.
Change to inproc.
<Sessionstate
Mode = "inproc"
Stateconnectionstring = "TCPIP = 127.0.0.1: 42424"
Sqlconnectionstring = "Data Source = 127.0.0.1; user id = sa; Password ="
Cookieless = "false"
Timeout = "20"
/>
Are you using "StateServer"? If yes, refer:
Use StateServer mode
Make sure that ASP. Net status service is running on the remote server that stores session status information. This service is installed with ASP. net premium and is located in <drive >:\ Program Files \ ASP. NET \ premium \ version \ aspnet_estate.exe by default.
In the Web. config file of the application, set mode = StateServer and set the stateconnectionstring attribute. For example, stateconnectionstring = "TCPIP = Sarath: 42424 ".
method 3:
the anti-virus software on the machine may be a virus. webpage loading is not allowed and anti-virus software is disabled.