Page not found (404) error on a new IIS6 server

Today I have been fighting with a problem on our new IIS6 testing environments. I've installed all the software onto the servers and then opened IIS and browsed to one of the .aspx pages in the newly installed website. Every time that I did this I received a Page Not Found HTTP 404 error. When I browsed to a .htm or .html file, that file was appropriately displayed in the browser. The next thing I tried was opening Internet Explorer and manually entering the URL to the .aspx page. Still no luck, and yes the .htm and .html pages worked just fine. I found a web service that was installed on the server and tried to open the .asmx file only to get the 404 error again.

After doing some research I finally figured out what it was. First I'll explain the software installed on the server. The box is Windows 2003 Standard Edition with IIS6, MS SOAP Toolkit 2.0 SP2, MSXML 4.0 Parser and SDK, a whole slew of Windows Updates and the Windows Support Tools. Don't ask why we have some of these things installed because I don't know the answer. I only get the box with a preconfigured build on it.

The fix. Open IIS, expand the server node and select the Web Services Extensions folder. In the Detail pane on the right hand side you will see a listing of the Web Service Extensions that are installed and their Status. In that list you should see ASP .NET v1.1.4322 (if you're running the .NET 1.1 framework) and the Status for it will be set to Prohibited. Select the ASP .NET v1.1.4322 item from the list and click the Allow button immediately to it's left. The Status will change from Prohibited to Allowed and you will now be able to browse to you .aspx and .asmx pages.

I'm the Igloo Coder and I finally able to get back into the Igloo.

posted @ Wednesday, April 12, 2006 6:06 PM

Print

Comments on this entry:

# re: Page not found (404) error on a new IIS6 server

Left by crimzonthunder at 2/22/2008 12:55 PM
Gravatar
Had the same issue. Spent hours trying to troubleshoot what was happening. Not sure if it is turned off by default, I dont remember doing this on earlier versions of IIS 6 on Win 2003 pre R2 releases. Thanks for the posting.

# re: Page not found (404) error on a new IIS6 server

Left by Lara at 3/17/2008 4:04 AM
Gravatar
Thank you so much for the solution, i was going crazy not being able to find out what was the problem

# re: Page not found (404) error on a new IIS6 server

Left by Marcus Almgren at 4/2/2008 7:57 AM
Gravatar
Yeah, I agree. It's excellent that you took the time to post the solution to the problem after solving it. Usually, we don't take us the time. Thanks for helping me out.

# re: Page not found (404) error on a new IIS6 server

Left by fred at 4/30/2008 7:48 AM
Gravatar
thanks, you saved my day!

# re: Page not found (404) error on a new IIS6 server

Left by flix at 10/7/2008 7:15 AM
Gravatar
DUDE! You so saved my day. I'd never have found it, and I was tearing out my hair by the roots. You try that with a shaved head!

THANKS!!!

# re: Page not found (404) error on a new IIS6 server

Left by Chin Pin, Eau at 10/24/2008 3:04 AM
Gravatar
Hi,

Thank you very much for this posting.
I have spent 1 day for checking out what is the root cause on this issue, visited pages in miscrosoft websites...here and there....until I found this posting...it saves my day. Today is Friday and thank GOD I found this before I leave my office... Wau, have a great WEEKEND ahead...

# re: Page not found (404) error on a new IIS6 server

Left by Diego at 2/18/2009 3:08 PM
Gravatar
Hello,

Thank you so much.

# re: Page not found (404) error on a new IIS6 server

Left by Justyn at 5/22/2009 3:55 PM
Gravatar
Thanks! That was the ticket!
Comments have been closed on this topic.