ASP.NET V2 Installed, still get a 404?

So you got a fresh new box and just installed ASP.NET V2 on it but you are seeing a 404 error in your V2 application.  The default installation of ASP.NET V2 does overwrite existing applications in IIS for your web applications so you need to force this installation for your application to work, otherwise it will give a 404.  The command you need to run is:

%systemroot%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

The second thing you need to check is in the "Web Services Extensions" node (IIS6).  Make sure that ASP.NET V2.x is ALLOWED to run.

I noticed that in the ASP.NET Tab for the application properties in IIS you can actually change it to V2, but it doesnt actually fix this issue.

3 Comments

Comments have been disabled for this content.