Windows could not start the “ASP.NET State Service” service on Local Computer
Posted by Diego em Agosto 3, 2012
I was getting the following error when trying to start the ASP.NET State Service:
Windows could not start the “ASP.NET State Service” service on Local Computer.
Error 2: The system cannot find the file specified.
Everything I found on google told me to go to the
%windir%\Microsoft.NET\Framework\v1.1.4322 folder at the command prompt, and then type the following command:
which I did and didn’t solve the problem.
The path to the executable in my case is
So I tried the same command on the v2 folder and I get the error:
"An attempt was made to load a program with an incorrect format".
The problem was that I was at a 64 bit computer and the state server was pointing to the wrong Framework.
To solve that, just open regedit