Why Isn’t .aspx Listed in IIS6 Options
October 1, 2008 by Jason Bean
Filed under Computers
When setting up a website virtual directory in Internet Information Services 6 (IIS6) why aren’t .aspx file extensions listed by default?
Are .aspx extensions still cutting edge or something? Are they not that common? I can’t figure out why they wouldn’t be listed and I have to add them manually.
It just seems weird to me that they’re not listed. It’s also not something I immediately think of when I try to browse to the site and get an error.















Just did a quick test here (I was thinking “You’ve got to be kidding me”) – I have a number of web servers I manage, so I setup two sites on two separate servers… one had default.aspx, the other didn’t… Turns out the machine that DID have it was running Win2003 R2 SP2 Standard, and the other was just running Win2003 SP2 Enterprise (both x86 versions) – so my best guess is that in R2 MS added something (of course SP2 came out after R2, so they should have just fixed it there… but maybe thats an R2 “feature”) — my other thought was maybe it depends on if IIS was installed before or after .Net — I know that changes things too (don’t remember the proper order.. but I know if you do it wrong you have to run aspnet_regiis.exe) – but thats easy to tell, because ASP.NET isn’t listed in Web Service Extentions if you do it wrong…
You may be happy to know in IIS7 it is listed :) But not sure your thoughts on IIS7 as a Dev! It is a different beast and I can’t just drag apps from IIS6 to 7 — even in “Classic mode” – our Dev’s always have to make some modification it seems