Solution to the error of not starting ASP. NET State Service 15:19:47 large, small
The specific error is as follows:
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.
Source error:
An unhandled exception is generated during the execution of the current Web request. You can use the following exception stack trace information to determine the cause and location of the exception.
Method 1:
Start ASP. NET State Service in "service" of "Administrative Tools"
Method 2:
In web. config, the mode of sessionstate is set to StateServer, but the specified server does not enable that 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.
Method 3:
Turn off anti-virus software. He can think that the files generated during the operation are infected with viruses and will block page generation with you.
==================
In web. config:
<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 ".
==================
The reason is as follows:
"/" Indicates a server error in the application.
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.
Note:An error occurred while executing the current Web request. Check the stack trace information for details about the error and the source of the error in the code.
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.
Source error:
An unhandled exception is generated during the execution of the current Web request. You can use the following exception stack trace information to determine the cause and location of the exception. |
Stack trace:
[Httpexception (0x8007274d): 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.] System. web. sessionstate. outofprocstateclientmanager. makerequest (stateprotocolverb, string ID, stateprotocolexclusive exclusiveaccess, int32 timeout, int32 lockcookie, byte [] Buf, int32 CB, networktimeout, sessionndmakerequestresults & Results) + 512 system. web. sessionstate. outofprocstateclientmanager. setasyncworker (string ID, sessionstateitem item, byte [] Buf, int32 length, Boolean instorage) + 57 system. web. sessionstate. outofprocstateclientmanager. system. web. sessionstate. istateclientmanager. set (string ID, sessionstateitem item, Boolean instorage) + 142 system. web. sessionstate. sessionstatemodule. onreleasestate (Object source, eventargs) + 465 system. web. synceventexecutionstep. system. web. httpapplication + iexecutionstep. execute () + 60 system. web. httpapplication. executestep (iexecutionstep step, Boolean & completedsynchronously) + 87
|
Version:Microsoft. NET Framework Version: 1.1.4322.2300; ASP. NET version: 1.1.4322.2300
Reference from: