RE: State Server not working

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



The State Server service is designed to run on one machine on the network,
and any other machines running your Web app need to have that machine's IP
address in their web.config. I know that sounds pretty basic, but it can be
overlooked.
Also, you need to ensure that the service is actually running on the target
machine.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net




"Jeff User" wrote:

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: State Server not working
    ... any other help besides posts that all say the same things and I have tryed ... I am getting the error "Unable to make the session state request to ... the session state server. ... If setting a breakpoint and stepping through app to try to catch this ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Homegrown synchronization
    ... to check for update files in the Import DropBox for the server. ... similar to the import code used to update a remote backend). ... code to close the "sync" app. ... synch app, but only one at a time would be able to do synchs. ...
    (microsoft.public.access.replication)
  • RE: Beginners Questions
    ... We do use Windows form on the presentation layer which is on ... terminal server and call web services on the business logic side. ... of using "proxy" authentication on SQL Server. ... > I have written an app with a Windows Forms UI that is deployed to clients ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: Ruby Enterprise App Design Advice
    ... Load balanced to send user to best server. ... FastCGI or SCGI - We would like to replace FastCGI with something ... certain instance and want to have a single session server (if I understand ... deals with login and logout and assigns an app server. ...
    (comp.lang.ruby)
  • RE: C++ Garbage Collector on VMS?
    ... And HW is usually not a problem in th app tier. ... One for App server, one for DB. ... Tiers were a great concept when HW could not keep up with the processing required by each tier and network speeds were slow and unreliable. ... In small to medium app environments, ...
    (comp.os.vms)