473,407 Members | 2,598 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,407 software developers and data experts.

question about state service

Hello,

I'm having a problem with Visual Web Developer 2005. I installed it
on my desktop without any issues... One of the websites/projects I'm
got handed the maintenance for is dependent upon the ASP.NET State
Server. So when I'm just developing on the localhost, I manually
start the State Server and then run the project from within VWD 2005.

I installed the same flavor of VWD on my laptop (Version 8.0.50727.42)
to take my projects on the road with me. Today, when I tried to work
on the project I mentioned above, and I went to Services, there was no
entry for the ASP.NET State Server in the Services msc.

hmmmm... was the installation of the State Server something I missed
during install; is it an option I missed selecting?

....or is there a way I can install the ASP.NET State Server after the
fact?

Suggestions are greatly appreciated.

Thanks!

Feb 2 '07 #1
5 1233

1. Could you check to see if you have aspnet_state.exe in :

systemroot\Microsoft.NET\Framework\v2.0.50727\aspn et_state.exe

?

2. Make sure you have this in your web.config:

<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" />

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Adam Sandler" <co****@excite.comwrote in message
news:11**********************@a34g2000cwb.googlegr oups.com...
Hello,

I'm having a problem with Visual Web Developer 2005. I installed it
on my desktop without any issues... One of the websites/projects I'm
got handed the maintenance for is dependent upon the ASP.NET State
Server. So when I'm just developing on the localhost, I manually
start the State Server and then run the project from within VWD 2005.

I installed the same flavor of VWD on my laptop (Version 8.0.50727.42)
to take my projects on the road with me. Today, when I tried to work
on the project I mentioned above, and I went to Services, there was no
entry for the ASP.NET State Server in the Services msc.

hmmmm... was the installation of the State Server something I missed
during install; is it an option I missed selecting?

...or is there a way I can install the ASP.NET State Server after the
fact?

Suggestions are greatly appreciated.

Thanks!


Feb 2 '07 #2
Juan... thanks for the reply...
1. Could you check to see if you have aspnet_state.exe in :

systemroot\Microsoft.NET\Framework\v2.0.50727\aspn et_state.exe
I do... that file lives in C:\WINNT\Microsoft.NET\Framework
\v2.0.50727... so I it looks like I have the *.exe but not the exe
installed as a or referenced by a service in the services mmc.
2. Make sure you have this in your web.config:
I do... but what does the entry in web.config have to do with not
being able stop or start a service?

Feb 2 '07 #3
re:
I do... but what does the entry in web.config have to do with not
being able stop or start a service?
That was just to make sure the service actually accepts state requests, *after* it's running.
After it starts running, it will not accept state requests if it's not configured.

Question for you : are you running IIS ... or just VWD's Development Web Server ?
i.e., did you install IIS 5.1 on Windows XP ?


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Adam Sandler" <co****@excite.comwrote in message
news:11**********************@l53g2000cwa.googlegr oups.com...
Juan... thanks for the reply...
>1. Could you check to see if you have aspnet_state.exe in :

systemroot\Microsoft.NET\Framework\v2.0.50727\asp net_state.exe

I do... that file lives in C:\WINNT\Microsoft.NET\Framework
\v2.0.50727... so I it looks like I have the *.exe but not the exe
installed as a or referenced by a service in the services mmc.
>2. Make sure you have this in your web.config:
I do... but what does the entry in web.config have to do with not
being able stop or start a service?

Feb 2 '07 #4
On Feb 2, 7:22 am, "Juan T. Llibre" <nomailrepl...@nowhere.comwrote:
Question for you : are you running IIS ... or just VWD's Development Web Server ?
Yes, IIS is configured on the box. Thanks!

Feb 2 '07 #5
If that's the case, you probably have a bad install.

Two choices for you at this stage :

1. Open a support ticket and attempt to fix the problem.

2. Nuke IIS and reinstall it

Reinstalling the .Net Framework should be superfluous, since all you really need to
do is run aspnet_regiis after you reinstall IIS, but, just to be on the safe side, I'd nuke
them both, and then reinstall both, first IIS and then the .Net Framework 2.0.

Nuking/reinstalling is probably your cost-efficient way to do it,
instead of attempting to get the StateServer service fixed.

Many times you expend far more energy trying to fix a bad install
than you would spend wiping the install and reinstalling.

Good luck, no matter which option you choose!

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Adam Sandler" <co****@excite.comwrote in message
news:11*********************@a75g2000cwd.googlegro ups.com...
On Feb 2, 7:22 am, "Juan T. Llibre" <nomailrepl...@nowhere.comwrote:
>Question for you : are you running IIS ... or just VWD's Development Web Server ?
Yes, IIS is configured on the box. Thanks!

Feb 2 '07 #6

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

Similar topics

1
by: Liza | last post by:
Hi guys, i'm trying to build a web service....... is there such thing as polymorphism in web services? i mean could i have two web services of the same name but different arguments such that i...
4
by: Jeff | last post by:
We have multiple ASP.Net web apps in development. As a standard we are looking to go with SQL Server to hold state information. Can we have the multiple apps all point to a single State DB? Or...
2
by: Chris Puncher | last post by:
Hi. I have a RCW class that was generated by the VS.NET2003 IDE when I added a COM dll reference to my project. This all works fine when I call methods on it. My initial problem is that in...
5
by: Stu Carter | last post by:
Hi, ENV: Windows 2003 Server SP1 (+all updates), VS 2003, .Net 1.1 SP1 We've got an ASP.Net web application using State Service. All is fine until we tried to use the app through a virtual...
2
by: Dean R. Henderson | last post by:
For an ASP.NET web application, is there a way for one session (with appropriate security authorization) to set a HttpSessionState variable to point to another session and execute the Abandon...
0
by: none | last post by:
Hi, I've got a problem with losing session state in ASP.NET version 2. It does it intermittently - sometimes it tanks - and sometimes it works OK. I've got the ASP.NET state service started...
0
by: Adam Sandler | last post by:
Hello, Using VWD 2005 here... I've noticed I've got .NET services on my system here: the .NET Runtime Optimization service and ASP.NET State service. I've noticed when the ASP.NET State service...
0
by: =?Utf-8?B?SmVhbi1GcmFuY29pcyBCcmV0b24=?= | last post by:
"siddharthkhare@hotmail.com" wrote: The context is important in this kind of design concern : I assume there's a lot of user and that application will evolve to add richer functionality. My...
5
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
Hi All, I am using asp.net session state service to store session. The concurrent online user will be almost 2000. Could asp.net session state service afford this? Is there any limitation...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
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...
0
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,...

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.