473,568 Members | 2,795 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

State Server stopped working after installing .NET Framework 1.1 S

I am running an asp.net project on my localhost and using state server as
state management, it has the following code in web.config
<sessionState mode="StateServ er"
stateConnection String="tcpip=M yMachineName:42 424" timeout="20"
cookieless="fal se" />

It had been working fine until I installed
Microsoft .Net Framework 1.1 SP1 (and Windows Update)

I got error"Unable to make the session state request to the session state
server"

I ensure that the ASP .NET State Service is running as .\ASPNET account.

Please advise.

--
Beve
Nov 19 '05 #1
8 2247
Hello,

You may try to run

aspnet_regiis -r

from \Windows\Micros oft.Net\Framewo rk\v1.1.4322 folder and reboot your
server. Will this help?

Also, you need to make if the problem occur when you save large data into
session varaint. Based on my experience, save too many data in session also
can cause such a problem.

Luke

Nov 19 '05 #2
Hi,
I did run aspnet_regiis -r and reboot, it did not help.

I am having a large ASP.NET app running on my localhost. The only thing I
know is my state server setting was working before I installed .Net framework
1.1 SP1 and stopped working after.

I couldn't get the login page come up so I don't think the session even get
started.
Here is the detailed trace message: (the ASP.NET State service is started on
my machine)

HttpException (0x8007274d): 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_MACH INE\SYSTEM\Curr entControlSet\S ervices\aspnet_ state\Parameter s\AllowRemoteCo nnection.]

System.Web.Sess ionState.OutOfP rocStateClientM anager.MakeRequ est(StateProtoc olVerb
verb, String id, StateProtocolEx clusive exclusiveAccess , Int32 timeout, Int32
lockCookie, Byte[] buf, Int32 cb, Int32 networkTimeout,
SessionNDMakeRe questResults& results) +512
System.Web.Sess ionState.OutOfP rocStateClientM anager.SetAsync Worker(String
id, SessionStateIte m item, Byte[] buf, Int32 length, Boolean inStorage) +57

System.Web.Sess ionState.OutOfP rocStateClientM anager.System.W eb.SessionState .IStateClientMa nager.Set(Strin g
id, SessionStateIte m item, Boolean inStorage) +142
System.Web.Sess ionState.Sessio nStateModule.On ReleaseState(Ob ject source,
EventArgs eventArgs) +465
System.Web.Sess ionState.Sessio nStateModule.On EndRequest(Obje ct source,
EventArgs eventArgs) +44

System.Web.Sync EventExecutionS tep.System.Web. HttpApplication +IExecutionStep .Execute() +60
System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously) +87

"[MSFT]" wrote:
Hello,

You may try to run

aspnet_regiis -r

from \Windows\Micros oft.Net\Framewo rk\v1.1.4322 folder and reboot your
server. Will this help?

Also, you need to make if the problem occur when you save large data into
session varaint. Based on my experience, save too many data in session also
can cause such a problem.

Luke

Nov 19 '05 #3
Have you check the registry value
"HKEY_LOCAL_MAC HINE\SYSTEM\Cur rentControlSet\ Services\aspnet _state\Paramete r
s\AllowRemoteCo nnection". It should be set to 1. Additionally, it the
problem occur with all the ASP.NET applications? if you create a new one,
will it also report such an problem?

Luke

Nov 19 '05 #4
Hi,

I reset AllowRemoteConn ection = 1, it was 0. The problem still exists.

Also, I created another asp.net project. and the same problem appeared as
well.

Thanks
"[MSFT]" wrote:
Have you check the registry value
"HKEY_LOCAL_MAC HINE\SYSTEM\Cur rentControlSet\ Services\aspnet _state\Paramete r
s\AllowRemoteCo nnection". It should be set to 1. Additionally, it the
problem occur with all the ASP.NET applications? if you create a new one,
will it also report such an problem?

Luke

Nov 19 '05 #5
If you change the config code like:

<configuratio n>
<sessionstate
mode="stateserv er"
cookieless="fal se"
timeout="20"
server="127.0.0 .1"
port="42424"
/>
</configuration>
What will be the result?

LUke

Nov 19 '05 #6
I ran without debugging and got Parser Error Message: "Unrecogniz ed attribute
'server'".

If I changed to:

<sessionState
mode="StateServ er"
cookieless="fal se"
timeout="20"
stateConnection String="tcpip=1 27.0.0.1:42424"
/>

It was running fine.

"[MSFT]" wrote:
If you change the config code like:

<configuratio n>
<sessionstate
mode="stateserv er"
cookieless="fal se"
timeout="20"
server="127.0.0 .1"
port="42424"
/>
</configuration>
What will be the result?

LUke

Nov 19 '05 #7
Hello,

For further trouble shooting, I suggest you may download a tool named
"TCPVIEW". It can moniter the usage of TCP ports:

http://www.sysinternals.com/ntw2k/source/tcpview.shtml

You can check with the tool if the ASP.NET State Service in on the port
42424. You may find following in the log of TCPVIEW:

aspnet_state.ex e:1340 TCP ComputerName:42 424 sha-yxzhang-new:0 LISTENING

Also, I suggest you may try to add the account ASPNET to local
administrators group to see if this will help.

Luke

Nov 19 '05 #8
Thank you very much. It works after I added .ASPNET to local administrators
group.

"[MSFT]" wrote:
Hello,

For further trouble shooting, I suggest you may download a tool named
"TCPVIEW". It can moniter the usage of TCP ports:

http://www.sysinternals.com/ntw2k/source/tcpview.shtml

You can check with the tool if the ASP.NET State Service in on the port
42424. You may find following in the log of TCPVIEW:

aspnet_state.ex e:1340 TCP ComputerName:42 424 sha-yxzhang-new:0 LISTENING

Also, I suggest you may try to add the account ASPNET to local
administrators group to see if this will help.

Luke

Nov 19 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1882
by: Venkat | last post by:
I just installed Visual Studio.Net 2003 and that is supposed to add that asp.net 1.1 extension. I got an error message while opening ASP.NET project.Error is : "visual studio.net has detected that the specified web server is not running ASP.net version 1.1. You will be
1
2675
by: Julie Barnet | last post by:
Hi, I am having a problem with my session state through sql server. This used to work, then all of a sudden (the only change was setting up replication in the sqlserver database) it stopped working. I ran uninstallsqlstate.sql after stopping w3svc and then restarted the w3svc and rean installsqlstate.sql. This works fine on my machine...
1
1272
by: VB Programmer | last post by:
My development machine has been working perfectly, writing ASP.NET apps, etc... I just went to open a project and it said: "Visual Studio .NET has detected that the specified web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web apps or services." I reran "aspnet_regiis -i " but it still gives me the...
0
1161
by: Beve Lyni | last post by:
I am running an asp.net project on my localhost and using state server as state management, it has the following code in web.config <sessionState mode="StateServer" stateConnectionString="tcpip=MyMachineName:42424" timeout="20" cookieless="false" /> It had been working fine until I installed Microsoft .Net Framework 1.1 SP1 (and Windows...
2
4140
by: Nils Hedström | last post by:
Today my stateserver (running at the same computer at the web-server) suddenly stopped responding (after 10 days working perfectly). I did not see any entry in the eventlog indicating that the service stopped responding. This is the entry in web.config --- <sessionState mode="StateServer" stateConnectionString="tcpip=localhost:42424"...
1
2850
by: Robert Halford | last post by:
On 4th May at 7.45 in the evening my asp.net web sites stopped working on my development server. The page that appears says: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
22
3251
by: EP | last post by:
When running my asp.net hosting service (asp.net without IIS), on server 2003 with IIS not installed, I get the following when trying to process a request. "System.DllNotFoundException: Unable to load DLL (aspnet_isapi.dll)." Of course the dll is able to be found, it's still in the framework directory and for grins I even put it in my...
1
4948
by: Paul Wasowicz | last post by:
Configuration: Windows 2000 Server SP4 ..Net Framework 1.1 SP1 Microsoft Site Server 3.0 Problem: the following error messages start showing up in the EVENT LOG on the server every once in a while until server becomes un-usable and has to be rebooted; users see in the browser Server Application Unavailable message; this seems to happen...
4
1375
by: Francesco Spegni | last post by:
hallo, i'm going to ask a solution for a "classic" problem. actually i read a lot about possible solutions to it but i was not able to solve it. the "patient" is: - a test server where i have "limited" power (alias, i cannot re- install everything i want :-/) - windows 2000 sp 4 w/ iis 5.0 - .net frameworks installed: 1.0, 1.1, 2.0
0
7916
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8117
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7660
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6275
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5498
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
932
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.