ASP.Net State Service Won't Start

J

Jeff N

Having a problem starting the ASP.Net state service on my local machine.
Whenever I try to start it, I get the following (taken from the event log):

The ASP.NET State Service service terminated with the following error:
The requested service provider could not be loaded or initialized.

Using WinXP SP2. Both VS 2003 and VS 2005 are installed on the machine,
with IIS 5.1. I've tried uninstalling and reinstalling both frameworks 1.1
and 2.0. I've
tried aspnet_regiis -u and -i on both, nothing seems to work.

Anyone ever seen this problem? Any assistance is greatly appreciated.

Thanks,
Jeff
 
J

Jeroen Mostert

Jeff said:
Having a problem starting the ASP.Net state service on my local machine.
Whenever I try to start it, I get the following (taken from the event log):

The ASP.NET State Service service terminated with the following error:
The requested service provider could not be loaded or initialized.
This sounds like a Winsock problem, not a problem with ASP.NET itself. You
can reset your Winsock installation to setup defaults by following the
instructions from this KB article:

http://support.microsoft.com/kb/811259

(The short version of this is to use "netsh winsock reset" from a command
prompt.)

If after this you still have problems, it may be time for a reinstall...
Annoying, but there you go.

If everything else fails, you could always try deploying the application to
a separate machine that doesn't have problems. I may be spoiled, but were I
work we have a few virtual servers that can be used for these purposes.

Speaking of which, if you have a spare license, you could run a virtual
machine on your computer with a clean install of Windows if reinstalling
your current computer is too costly. Microsoft Virtual PC is a free download.
 
J

Jeff N

J, thanks. In investigating it as a winsock problem, we discovered it was a
permissions problem with the account used to start the ASP.Net state
service. Once we got those issues resolved, the state service started
properly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top