State Server 세션을 사용하려고합니다. 세션 상태 서버에 세션 상태 요청을 할 수 없습니까?
<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false" timeout="20" />
는 로컬 호스트에서 내 웹 사이트를 실행하고 모든 것이 잘 작동 :
나는 다음에 내 세션 상태를 변경했습니다.
하지만 난 내 웹 사이트를 게시하고 온라인 나는 다음과 같은 오류가 그것을 실행하려고하면
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 '127.0.0.1' as the server name.
웹 사이트는 내가 그것을 ASP.NET하기 때문에 될 수있는 오류를 resarching 후, Afrihost 서버에서 호스팅되는 주 서비스가 시작되지 않았습니다. Afrihost 서버가이 서비스를 실행하고 있거나 원격으로 시작하는지 확인할 수있는 방법이 있습니까?
또한 IP 주소 127.0.0.1은 로컬 호스트 용이지만 웹 서버에 응용 프로그램을 게시하기 때문에 해당 컴퓨터에 로컬이됩니다.
서버에서 RDP 연결을 설정할 수 있습니까? 그렇다면 서비스가 제대로 시작되었는지 (services.msc에서) 제대로 시작되지 않았는지 확인하십시오. Windows 이벤트 로그를 확인하십시오. – CharlesAD
@CharlesAD Afrihost가 가장 많이 호스팅하는 서버로 RDP 연결을 허용하지 않는다고 생각합니다. 남아 프리카 공화국을위한 웹 사이트. – Pomster