State Server not working



Hi
Sorry if this post appears twice, but it is not appearing in my news
reader.

We have an application that uses sessionState set up in Web.config is
setup as follows:
<sessionState mode="StateServer"
stateConnectionString="tcpip=127.0.0.1:42424"
cookieless="false" timeout="900"/>

When running in debug, the app works on other machines,
but on a new Toshiba development machine that was just setup
I am getting the error "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.....HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection".

If setting a breakpoint and stepping through app to try to catch this
error, sometimes it does not happen. Timing/timeout related?

We are using C# in VS 2003 on Win XP, .NET 1.1, NTFS file system. This
machine is running IIS V5.1. All of these tools are on one machine.
The only thing remote is a SQL Server database server that the app
connects to for data.
- The ASP State service is running.
- I checked the registry entry anyway and AllowRemoteConnection is set
to 0.(as it was on other machine)
Tryed setting it to 1, but no difference.
- The Port value (in registry) is 42424 , the same as the web.config
entry.
- I added ASPNET to administrators group.

Does anyone have any other ideas?

Thanks
jeff
.



Relevant Pages

  • RE: Trouble with huge amount of State Server Sessions Timed out
    ... "Unable to serialize the session state. ... > State Service or SQL Server can be memory intensive depending on the types ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IIS 6 Session Restarts
    ... Session state is not magical. ... It requires the client to send an ASP Session ... w3wp on the server must recognize that cookie and retrieve its state. ... The idle timeout for the app pool is set to 20 minutes which is what our ...
    (microsoft.public.inetserver.iis)
  • progmatic Form post (HttpWebRequest / Response) sessions
    ... The big if for me is maintaining the session thoughout all this so the ... If the server maintains the sessionsI am uneasily predicting ... that session state will remain fine. ... If cookies are used I am a little sceptical on how to maintain state. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: web farm session sharing
    ... It is most likely that a new session is being started becuase the user is ... Since the new server doesn't recognize the ... > The best way to get around this is to use a Session State server. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: RWW Timing
    ... I understand that you want to monitor when and how ... > to an internal Windows XP or Terminal Server computer. ... SBS creates a connection to the internal client on port 3389 which is ... But it can not tell which one session from the RWW, ...
    (microsoft.public.windows.server.sbs)