ASP.NET 404 and Windows Server 2003

Ran into this today and it'd been so long since I'd fought with this issue, it took me some time to re-figure it out.  So, as a reminder to myself...

If you're getting a 404 Not Found on an ASP.NET application running on Windows Server 2003/IIS6 that should be working just fine - the files are definitely there and the permissions are correct and everything - don't forget to make sure ASP.NET is enabled in the IIS Administration Console under "Web Service Extensions."

If you uninstall and re-install ASP.NET, these settings get reset to "Prohibited" so ASP.NET won't work.  You'll need to change them to "Allowed."

Web Service Extensions inside IIS6 admin console.

 

Print | posted @ Tuesday, September 25, 2007 2:53 PM

Comments on this entry:

Gravatar # re: ASP.NET 404 and Windows Server 2003
by Mr. T at 12/17/2007 5:34 AM

Txs man... solved my prob.
Gravatar # re: ASP.NET 404 and Windows Server 2003
by LvX at 6/6/2008 1:09 AM

Thanks a lot solved here
Gravatar # re: ASP.NET 404 and Windows Server 2003
by Kian Ryan at 6/10/2008 2:06 AM

Hah!

Many thanks, just spent 20 minutes wrangling with this one. Obvious really. Duh.
Gravatar # re: ASP.NET 404 and Windows Server 2003
by Ryan Patterson at 7/23/2008 12:44 PM

Good deal, thanks for the tip. First result on Google, too. Good job.
Gravatar # re: ASP.NET 404 and Windows Server 2003
by Bryan at 7/24/2008 9:41 AM

Thank you! And to Kian Ryan, who said this was "obvious really" - no it's not! It would be obvious if an event would show up in the Event Viewer stating the problem, but all the help we get from Windows is a 404 message.
Gravatar # re: ASP.NET 404 and Windows Server 2003
by Liffos.fang at 8/15/2008 2:11 AM

Thanks!

Your comment:

Title:
Name:
Email:
Website:
 
Italic Underline Blockquote Hyperlink
 
 
Please add 4 and 6 and type the answer here: