473,387 Members | 1,590 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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="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 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 2226
Hello,

You may try to run

aspnet_regiis -r

from \Windows\Microsoft.Net\Framework\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_MACHINE\SYSTEM\CurrentControlSet\Servic es\aspnet_state\Parameters\AllowRemoteConnection.]

System.Web.SessionState.OutOfProcStateClientManage r.MakeRequest(StateProtocolVerb
verb, String id, StateProtocolExclusive exclusiveAccess, Int32 timeout, Int32
lockCookie, Byte[] buf, Int32 cb, Int32 networkTimeout,
SessionNDMakeRequestResults& results) +512
System.Web.SessionState.OutOfProcStateClientManage r.SetAsyncWorker(String
id, SessionStateItem item, Byte[] buf, Int32 length, Boolean inStorage) +57

System.Web.SessionState.OutOfProcStateClientManage r.System.Web.SessionState.IStateClientManager.Set( String
id, SessionStateItem item, Boolean inStorage) +142
System.Web.SessionState.SessionStateModule.OnRelea seState(Object source,
EventArgs eventArgs) +465
System.Web.SessionState.SessionStateModule.OnEndRe quest(Object source,
EventArgs eventArgs) +44

System.Web.SyncEventExecutionStep.System.Web.HttpA pplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +87

"[MSFT]" wrote:
Hello,

You may try to run

aspnet_regiis -r

from \Windows\Microsoft.Net\Framework\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_MACHINE\SYSTEM\CurrentControlSet\Servi ces\aspnet_state\Parameter
s\AllowRemoteConnection". 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 AllowRemoteConnection = 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_MACHINE\SYSTEM\CurrentControlSet\Servi ces\aspnet_state\Parameter
s\AllowRemoteConnection". 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:

<configuration>
<sessionstate
mode="stateserver"
cookieless="false"
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: "Unrecognized attribute
'server'".

If I changed to:

<sessionState
mode="StateServer"
cookieless="false"
timeout="20"
stateConnectionString="tcpip=127.0.0.1:42424"
/>

It was running fine.

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

<configuration>
<sessionstate
mode="stateserver"
cookieless="false"
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.exe:1340 TCP ComputerName:42424 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.exe:1340 TCP ComputerName:42424 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
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...
1
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...
1
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...
0
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"...
2
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...
1
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...
22
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...
1
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...
4
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...

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.