Unable to issue a session-state request to the session-state server. Ensure that the ASP. NET State Service (ASP) is started

Source: Internet
Author: User
Tags stack trace

Session state requests cannot be made to the session-state server. Make sure that the ASP. NET State Service (ASP) is started and that the client port is the same as the server port. If the server is on a remote computer, please check the hkey_local_machine\system\currentcontrolset\services\aspnet_state\parameters\ The value of allowremoteconnection to ensure that the server accepts remote requests. If the server is on the local computer and the registry value mentioned above does not exist or is set to0, the state server connection string must use "localhost" or "127.0.0.1"as the server name. The error is as follows: Exception details: System.Web.HttpException: Unable to issue a session-state request to the session-state server. Make sure 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 computer, please check the hkey_local_machine\system\currentcontrolset\services\aspnet_state\parameters\ The value of allowremoteconnection to ensure that the server accepts remote requests. SOURCE Error: An unhandled exception was generated during the execution of the current WEB request.       You can use the following exception stack trace information to determine information about the cause of the exception and where it occurred. Cause Analysis: Configuration sessionstate in Web. config has a mode of StateServer, but the server does not turn on the service. Workaround:1. Web. config change the sessionstate mode to"InProc"   ;2. Enable in the service"ASP . NET State Service"

Unable to issue a session-state request to the session-state server. Ensure that the ASP. NET State Service (ASP) is started

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.