Solution 1:
1. Enable ASP. NET State Service:
Choose Administrative Tools> services, find ASP. NET State service, click open, select start, and set the Startup Type to automatic.
2. SetProgramConfiguration file:
Set the web. when config is enabled, a line is displayed, Which is <sessionstate mode = "inproc" stateconnectionstring = "TCPIP = 127.0.0.1: 42424" timeout = "20"/>. If not, go to <system. add the next line of Web>, change inproc to StateServer, and save it.
Solution:
If the following error persists after method 1 is followed:
Error description:
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. if the server is on the local machine, and if the before mentioned registry value does not exist or is set to 0, then the State server connection string must use either 'localhost' or '2017. 0.0.1 'as the server name.
Solution
After searching online for half a day, all the answers areASP. NET State ServiceThe service is not enabled, but it is already enabled on the server! Because of anti-virus software problems, McAfee was previously installed on another server, enabling access protection ASP. net all websites will go wrong. After checking that the NOD32 installed on the server is enabled for all functions, turn off the network monitoring (imon) and the verification code will be displayed normally.