ASP.NET State server won’t start on Windows 7 64 bit. File is missing?

I went to launch my state server for ASP.NET to handle my local sites state information, in preparation for production, and the service just wouldn’t play nice. I tried to start it and it says the file doesn’t even exist.

Good times, right? So I went into the registry to see where it was pointing..%SystemRoot%Microsoft.NETFrameworkv2.0.50727aspnet_state.exe  (Yes, the path is visible on the service control properties as well)

I checked the disk and surprise surprise, it actually wasn’t there. However, there is this suspiciously obvious looking folder called Framework64. AHAH! You look in there and voila! It is in there.

Looks like the framework installer sucks. So I fixed the key and it magically started working. Amazing how when you point to the actual file it works,eh?

The fix is to change this:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesaspnet_state
key: ImagePath
%SystemRoot%Microsoft.NETFrameworkv2.0.50727aspnet_state.exe
to this:
%SystemRoot%Microsoft.NETFramework64v2.0.50727aspnet_state.exe

Happy coding!

0 Replies to “ASP.NET State server won’t start on Windows 7 64 bit. File is missing?”

  1. I guess without your post it would have taken me way beyond than 5 minutes, which it actually took.
    Thanks man.,

Leave a Reply

Your email address will not be published. Required fields are marked *