Ran into a situation that took me a little troubleshooting recently where .aspx pages would not show up in a browser, instead would only display a 404 error. Looking in the IIS log I found the following:
127.0.0.1 GET /Default.aspx - 80 - 127.0.0.1 404 2 1260
Long story short, this server didn’t have .Net4 registered. To fix, drop to a command line, and issue
from the appropriate .Net folder. (ie:
That should be it!