I get 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: aspnet_regiis.exe -ir
which I did and didn't solve the problem. The path to the executable in my case is 2.0: C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_state.exe
.
So I tried the same comand on the v2 folder and I get the error:
"An attempt was made to load a program with an incorrect format".
thanks in advace for any help
The ASP.NET state service is used to manage session state on a computer. The ASP.NET state service is installed by default when Microsoft® Windows® Server 2003 is installed.
In the details pane, right-click ASP.NET State Service, and then click Properties. On the General tab, in the Startup type list box, click Automatic. Under Service status, click Start, and then click OK. The state service starts automatically when the Web server is restarted.
You have a computer that is running Windows Server. The ASP.NET State Service is installed as part of Internet Information Services (IIS). An installed service depends on the ASP.NET State Service. You upgrade the Microsoft .NET Framework 3.51 to the .NET Framework 4.0. Windows could not start the <service name> service on <computer name>.
ASP.Net State Service missing from Services. The ASP.net State Service appears to have mysteriously disappeared from our web server's Services list after changing the .Net version in an IIS app pool to v4 and then changing it back to v3.5 again.
An installed service depends on the ASP.NET State Service. You upgrade the Microsoft .NET Framework 3.51 to the .NET Framework 4.0. Windows could not start the <service name> service on <computer name>. Error 1075: The dependency service does not exist or has been marked for deletion.
Windows could not start the <service name> service on <computer name>. Error 1075: The dependency service does not exist or has been marked for deletion. You also notice that the ASP.NET State Service is no longer listed in the Services Management console. This is a known issue that occurs when you update .NET Framework.
As stated here, it's trying to load the 32-bit version while you need the 64-bit. If this is applicable, open RegEdit (own risk and so on) and change HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\ImagePath
from %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_state.exe
to %SystemRoot%\Microsoft.NET\Framework64\v2.0.50727\aspnet_state.exe
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With