We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • getting HTTP error 404 for no reason

    Jan 28, 2013 11:32 PM|gib99|LINK

    Please go to http://www.mm-theory.com and observe the HTTP Error 404.

    This website is a webapp (with a master page) programmed in Visual Studios Express 2012 for Web. It was targeted for Framework 4.0 and Published with the File System method. I then manually uploaded it to my Windows Server 2003 machine running IIS 6.0.

    For some reason, it thinks the default page is not there, but it is.

    Under documents, I have Default.htm and nuts_and_bolts.aspx at the top of the list, and both files exist in the wwwroot directory. The App pool is MMTheoryAppPool (which I've tried restarting) with MMTheoryApp as the main app for my website. I copied it from the default app. Under the ASP.NET tab, I have the ASP.NET version set to 4.0.30319.

    The web.config file looks like this:


    <?xml version="1.0"?>



            <customErrors mode="Off"/>

            <compilation targetFramework="4.0"/>   





    I've googled this problem and the solution is always to allow the target ASP.NET version in the Web Server Extensions, but it's already allowed on my machine. I've also come across enabling directory browsing but that's on as well.

    Can anyone tell me what's going on?