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. We're not even sure if that's related.

Does anyone know how we can reinstall or somehow register the service?

This is on a Windows 2008 Server. All .Net versions are installed.

Thanks


Running this command has reinstalled the ASP.Net State Service and session state is now working fine again. Still unsure of the original cause though.

C:\Windows\Microsoft.Net\Framework64\v4.0.30319\aspnet_regiis -i