RE: State Server not working



Hi all

Does anyone have any other ideas? I am dead in the water and can not find
any other help besides posts that all say the same things and I have tryed
them all.
I am considering re-installing IIS and VS 2003 but somehow wonder if this
will really help.

Any other ideas or suggestions or links would be appreciated.

Thanks all
Jeff

"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
    ... 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 ... I am getting the error "Unable to make the session state request to ... I checked the registry entry anyway and AllowRemoteConnection is set ...
    (microsoft.public.dotnet.framework.aspnet)
  • HTTP Post Method
    ... I'm trying to write a C# App that posts a set of data to a server, ... I'm not having any luck figuring out how to get all of the parameters ... submitted to the server correctly. ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: WINS Cannot read from the UDP socket
    ... I am having the same problem about WINS but win Windows 2000 Server SP4. ... I have tried the recomended steps on the posts without success. ... Microsoft CSS Online Newsgroup Support ... WINS Cannot read from the UDP socket ...
    (microsoft.public.windows.server.sbs)
  • Re: Since this newsgroup is now nothing more than...
    ... considered thoughts to the readers of rec.boats: ... I am curious when you open your server will you allow people access to ... posts will propagate to all servers.... ... even the occasional boating post from wafa. ...
    (rec.boats)
  • RE: Security Error on WebSync
    ... That means merge agent on the subscriber? ... Also, if possible, pleas try to install another instance on the server to ... When responding to posts, please "Reply to Group" via your newsreader so ...
    (microsoft.public.sqlserver.replication)

Loading