Unable to make the session state request to the session state server

Discussion in 'ASP .Net' started by Maciek, Sep 15, 2005.

  1. Maciek

    Maciek Guest

    Hi
    When I set Session state mode to StateServer (IIS 6.0; windows2003; .NET
    2.0) in my application, I have recived this message:
    -----------------------------------------------------------------------------------------------------------------
    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.
    Description: An unhandled exception occurred during the execution of the
    current web request. Please review the stack trace for more information
    about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: 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.

    Source Error:

    An unhandled exception was generated during the execution of the current web
    request. Information regarding the origin and location of the exception can
    be identified using the exception stack trace below.

    Stack Trace:

    [HttpException (0x80004005): 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.]
    System.Web.SessionState.OutOfProcSessionStateStore.MakeRequest(StateProtocolVerb
    verb, String id, StateProtocolExclusive exclusiveAccess, Int32 extraFlags,
    Int32 timeout, Int32 lockCookie, Byte[] buf, Int32 cb, Int32 networkTimeout,
    SessionNDMakeRequestResults& results) +1497
    System.Web.SessionState.OutOfProcSessionStateStore.SetAndReleaseItemExclusive(HttpContext
    context, String id, SessionStateStoreData item, Object lockId, Boolean
    newItem) +192
    System.Web.SessionState.SessionStateModule.OnReleaseState(Object source,
    EventArgs eventArgs) +351
    System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    +92
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
    completedSynchronously) +64





    Version Information: Microsoft .NET Framework Version:2.0.50215.44; ASP.NET
    Version:2.0.50215.44
    ------------------------------------------------------------------------------------------------------------

    ASP.NET State service is running

    Somebody help me
    Maciek, Sep 15, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. shamanthakamani
    Replies:
    1
    Views:
    3,483
    Natty Gur
    Nov 20, 2003
  2. Not Liking Dot Net Today
    Replies:
    0
    Views:
    602
    Not Liking Dot Net Today
    Apr 21, 2004
  3. Not Liking Dot Net Today

    Unable to make the session state request to

    Not Liking Dot Net Today, Apr 22, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    4,341
    Not Liking Dot Net Today
    Apr 22, 2004
  4. Harry Haller
    Replies:
    0
    Views:
    1,649
    Harry Haller
    Nov 7, 2006
  5. dm1608
    Replies:
    3
    Views:
    2,124
    bruce barker
    Dec 19, 2009
Loading...

Share This Page