Session state requests cannot be made to the session-state server. Make sure that the ASP. NET State Service (ASP) is started

Source: Internet
Author: User

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 to 0, the state server connection string must use "localhost" or "127.0.0.1" as the server name.

Web. config

<!--Configure this parameter to ensure that session state is not lost--
<sessionstate mode= "StateServer" stateconnectionstring= "tcpip=127.0.0.1:42424" sqlConnectionString= "data source =127.0.0.1; Trusted_connection=yes "cookieless=" false "timeout="/>

No need to change

Solution Solutions

To enable the "ASP. NET State Service" in the service

Session state requests cannot be made to the session-state server. Make sure 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.