« Previous Next »

Thread: 404.4 and 404.0 when requesting default document

Last post 11-30-2008 12:51 AM by boylan. 8 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (9 items)

Sort Posts:

  • 11-16-2008, 9:23 AM

    • akilhoffer
    • Not Ranked
    • Joined on 03-27-2003, 10:58 AM
    • Lost
    • Posts 2

    404.4 and 404.0 when requesting default document

    I'm migrating an existing site to IIS7, and I've having some issues in doing so. I have set the default document to default.aspx in inetmgr, but when I request the page in the browser ("http://localhost"), I get a 404.4 error. I then added a handler for static files and specified a "*" for the path and verb. The 404.4 goes away, but then I get a 404.0. Note that if I request default.aspx explicitly ("http://localhost/default.aspx), IIS serves the page up with no problems. What else should I do to troubleshoot this? I just can't figure out why I would get a 404.0 for the default document. Thanks in advance! -T
    Anthony Kilhoffer
    Rock Hammer Media, LLC
  • 11-16-2008, 11:12 AM In reply to

    Re: 404.4 and 404.0 when requesting default document

    Hello,

    Do you have any errors in systemroot\System32\LogFiles\HTTPERR ?

    Regards

  • 11-16-2008, 11:52 AM In reply to

    • akilhoffer
    • Not Ranked
    • Joined on 03-27-2003, 10:58 AM
    • Lost
    • Posts 2

    Re: 404.4 and 404.0 when requesting default document

    Thanks for the response. To answer your question, there are no error logs at that location.
    Anthony Kilhoffer
    Rock Hammer Media, LLC
  • 11-20-2008, 8:46 PM In reply to

    Re: 404.4 and 404.0 when requesting default document

    1. Http.sys log file should be in systemroot\System32\LogFiles\HTTPERR, Is your server a fresh new one?

    2. Create a new aspx page named like "Home.aspx". to see 404.0 error still occurs.

    3. Could find your log files in C:\inetpub\logs\LogFiles by default?

    Thanks

    Sincerely
    Microsoft Online Community Support
    Andrew Zhu - MSFT


    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • 11-21-2008, 3:17 AM In reply to

    Re: 404.4 and 404.0 when requesting default document

    404.4 and 404.0 are two different error codes..
    404.0 - Not found.
    404.4 - No handler configured.

    Try simple html page first, then try the aspx page. Make sure you go .net framework installed.

    Cheers,
    Bernard Cheah
  • 11-21-2008, 3:52 PM In reply to

    • boylan
    • Not Ranked
    • Joined on 11-21-2008, 3:45 PM
    • Posts 3

    Re: 404.4 and 404.0 when requesting default document

    Hi, I'm akilhoffer's partner on this.

    In reply to both Andrew and qbernard, please note that when any page is called directly, they load properly with no errors.  The only problem comes from entering just the domain name or localhost, we get a 404.0 error:

    HTTP Error 404.0 - Not Found

    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

    Detailed Error Information
    ModuleIIS Web Core
    NotificationMapRequestHandler
    HandlerStaticFile
    Error Code0x80070002
    Requested URLhttp://beta.example.com:80/
    Physical PathC:\projects\Main\edge\Web
    Logon MethodAnonymous
    Logon UserAnonymous
    Failed Request Tracing Log DirectoryC:\inetpub\logs\FailedReqLogFiles

     This happens whether or not I set up a plain html doc or aspx page as the default doc. I have tried both ways, same error.

    As for the log files, I did find them, but they did not seem to be too helpful - they only showed looking for the page and then returning a 404, as if the page did not exist - but if I call it directly, the page loads just fine.

    Any other suggestions?  Or if you need more info, just ask.

  • 11-23-2008, 11:15 PM In reply to

    Re: 404.4 and 404.0 when requesting default document

    Ok, and I assumed you got default doc component installed. In this case, can you do the FREB tracing on 404 status... also look at the IIS log.. post the 404 entry here.

    Cheers,
    Bernard Cheah
  • 11-24-2008, 3:36 AM In reply to

    • boylan
    • Not Ranked
    • Joined on 11-21-2008, 3:45 PM
    • Posts 3

    Re: 404.4 and 404.0 when requesting default document

    Our tracing log is below - I'm not usre its going ot be of much help.  And yes, the default doc component is installed.

    Thanks.

      <?xml version="1.0" encoding="UTF-8" ?>
    <?xml-stylesheet type='text/xsl' href='freb.xsl'?>
    <!-- saved from url=(0014)about:internet -->
    <failedRequest url="http://beta.example.net:80/"
                   siteId="2"
                   appPoolId="DefaultAppPool"
                   processId="5244"
                   verb="GET"
                   remoteUserName=""
                   userName=""
                   tokenUserName="NT AUTHORITY\IUSR"
                   authenticationType="anonymous"
                   activityId="{00000000-0000-0000-4E00-0080000000F1}"
                   failureReason="STATUS_CODE"
                   statusCode="404"
                   triggerStatusCode="404"
                   timeTaken="0"
                   xmlns:freb="http://schemas.microsoft.com/win/2006/06/iis/freb"
                   >
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>0</Level>
      <Opcode>1</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2008-11-24T07:48:43.521Z"/>
      <Correlation ActivityID="{00000000-0000-0000-4E00-0080000000F1}"/>
      <Execution ProcessID="5244" ThreadID="4984"/>
      <Computer>CHRIS-VISTA64</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-4E00-0080000000F1}</Data>
      <Data Name="SiteId">2</Data>
      <Data Name="AppPoolId">DefaultAppPool</Data>
      <Data Name="ConnId">1610612813</Data>
      <Data Name="RawConnId">0</Data>
      <Data Name="RequestURL">http://beta.example.net:80/</Data>
      <Data Name="RequestVerb">GET</Data>
     </EventData>
     <RenderingInfo Culture="en-US">
      <Opcode>GENERAL_REQUEST_START</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>5</Level>
      <Opcode>53</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2008-11-24T07:48:43.521Z"/>
      <Correlation ActivityID="{00000000-0000-0000-4E00-0080000000F1}"/>
      <Execution ProcessID="5244" ThreadID="4984"/>
      <Computer>CHRIS-VISTA64</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-4E00-0080000000F1}</Data>
      <Data Name="HeaderName">AspFilterSessionId</Data>
      <Data Name="HeaderValue"></Data>
      <Data Name="Replace">true</Data>
     </EventData>
     <RenderingInfo Culture="en-US">
      <Opcode>GENERAL_SET_REQUEST_HEADER</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>50</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2008-11-24T07:48:43.521Z"/>
      <Correlation ActivityID="{00000000-0000-0000-4E00-0080000000F1}"/>
      <Execution ProcessID="5244" ThreadID="4984"/>
      <Computer>CHRIS-VISTA64</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-4E00-0080000000F1}</Data>
      <Data Name="Headers">Connection: keep-alive
    Keep-Alive: 300
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Accept-Encoding: gzip,deflate
    Accept-Language: en-us,en;q=0.5
    Host: beta.example.net
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 (.NET CLR 3.5.30729)
    </Data>
     </EventData>
     <RenderingInfo Culture="en-US">
      <Opcode>GENERAL_REQUEST_HEADERS</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>30</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2008-11-24T07:48:43.521Z"/>
      <Correlation ActivityID="{00000000-0000-0000-4E00-0080000000F1}"/>
      <Execution ProcessID="5244" ThreadID="4984"/>
      <Computer>CHRIS-VISTA64</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-4E00-0080000000F1}</Data>
      <Data Name="PhysicalPath">C:\projects\Mint\edge\Web</Data>
      <Data Name="AccessPerms">513</Data>
     </EventData>
     <RenderingInfo Culture="en-US">
      <Opcode>GENERAL_GET_URL_METADATA</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>44</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2008-11-24T07:48:43.521Z"/>
      <Correlation ActivityID="{00000000-0000-0000-4E00-0080000000F1}"/>
      <Execution ProcessID="5244" ThreadID="4984"/>
      <Computer>CHRIS-VISTA64</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-4E00-0080000000F1}</Data>
      <Data Name="AuthType"></Data>
      <Data Name="UserName"></Data>
      <Data Name="SupportsIsInRole">true</Data>
     </EventData>
     <RenderingInfo Culture="en-US">
      <Opcode>USER_SET</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>0</Level>
      <Opcode>33</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2008-11-24T07:48:43.521Z"/>
      <Correlation ActivityID="{00000000-0000-0000-4E00-0080000000F1}"/>
      <Execution ProcessID="5244" ThreadID="4984"/>
      <Computer>CHRIS-VISTA64</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-4E00-0080000000F1}</Data>
      <Data Name="HttpStatus">404</Data>
      <Data Name="HttpSubStatus">0</Data>
      <Data Name="FileNameOrURL">404.htm</Data>
     </EventData>
     <RenderingInfo Culture="en-US">
      <Opcode>GENERAL_SEND_CUSTOM_ERROR</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>35</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2008-11-24T07:48:43.521Z"/>
      <Correlation ActivityID="{00000000-0000-0000-4E00-0080000000F1}"/>
      <Execution ProcessID="5244" ThreadID="4984"/>
      <Computer>CHRIS-VISTA64</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-4E00-0080000000F1}</Data>
     </EventData>
     <RenderingInfo Culture="en-US">
      <Opcode>GENERAL_FLUSH_RESPONSE_START</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>47</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2008-11-24T07:48:43.521Z"/>
      <Correlation ActivityID="{00000000-0000-0000-4E00-0080000000F1}"/>
      <Execution ProcessID="5244" ThreadID="4984"/>
      <Computer>CHRIS-VISTA64</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-4E00-0080000000F1}</Data>
      <Data Name="Headers">Cache-Control: private
    Content-Type: text/html; charset=utf-8
    Server: Microsoft-IIS/7.0
    X-Powered-By: ASP.NET
    </Data>
     </EventData>
     <RenderingInfo Culture="en-US">
      <Opcode>GENERAL_RESPONSE_HEADERS</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>5</Level>
      <Opcode>49</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2008-11-24T07:48:43.521Z"/>
      <Correlation ActivityID="{00000000-0000-0000-4E00-0080000000F1}"/>
      <Execution ProcessID="5244" ThreadID="4984"/>
      <Computer>CHRIS-VISTA64</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-4E00-0080000000F1}</Data>
      <Data Name="Buffer">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
    &lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
    &lt;head&gt;
    &lt;title&gt;IIS 7.0 Detailed Error - 404.0 - Not Found&lt;/title&gt;
    &lt;style type=&quot;text/css&quot;&gt;
    &lt;!--
    body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;}
    code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;}
    .config_source code{font-size:.8em;color:#000000;}
    pre{margin:0;font-size:1.4em;word-wrap:break-word;}
    ul,ol{margin:10px 0 10px 40px;}
    ul.first,ol.first{margin-top:5px;}
    fieldset{padding:0 15px 10px 15px;}
    .summary-container fieldset{padding-bottom:5px;margin-top:4px;}
    legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;}
    legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px;
     border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696;
     border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;font-size:1em;}
    a:link,a:visited{color:#007EFF;font-weight:bold;}
    a:hover{text-decoration:none;}
    h1{font-size:2.4em;margin:0;color:#FFF;}
    h2{font-size:1.7em;margin:0;color:#CC0000;}
    h3{font-size:1.4em;margin:10px 0 0 0;color:#CC0000;}
    h4{font-size:1.2em;margin:10px 0 5px 0;
    }#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:&quot;trebuchet MS&quot;,Verdana,sans-serif;
     color:#FFF;background-color:#5C87B2;
    }#content{margin:0 0 0 2%;position:relative;}
    .summary-container,.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
    .config_source{background:#fff5c4;}
    .content-container p{margin:0 0 10px 0;
    }#details-left{width:35%;float:left;margin-right:2%;
    }#details-right{width:63%;float:left;
    }#server_version{width:96%;_height:1px;min-height:1px;margin:0 0 5px 0;padding:11px 2% 8px 2%;color:#FFFFFF;
     background-color:#5A7FA5;border-bottom:1px solid #C1CFDD;border-top:1px solid #4A6C8E;font-weight:normal;
     font-size:1em;color:#FFF;text-align:right;
    }#server_version p{margin:5px 0;}
    table{margin:4px 0 4px 0;width:100%;border:none;}
    td,th{vertical-align:top;padding:3px 0;text-align:left;font-weight:bold;border:none;}
    th{width:30%;text-align:right;padding-right:2%;font-weight:normal;}
    thead th{background-color:#ebebeb;width:25%;
    }#details-right th{width:20%;}
    table tr.alt td,table tr.alt th{background-color:#ebebeb;}
    .highlight-code{color:#CC0000;font-weight:bold;font-style:italic;}
    .clear{clear:both;}
    .preferred{padding:0 5px 2px 5px;font-weight:normal;background:#006633;color:#FFF;font-size:.8em;}
    --&gt;
    &lt;/style&gt;
     
    &lt;/head&gt;
    &lt;body&gt;
    &lt;div id=&quot;header&quot;&gt;&lt;h1&gt;Server Error in Application &quot;example&quot;&lt;/h1&gt;&lt;/div&gt;
    &lt;div id=&quot;server_version&quot;&gt;&lt;p&gt;Internet Information Services 7.0&lt;/p&gt;&lt;/div&gt;
    &lt;div id=&quot;content&quot;&gt;
    &lt;div class=&quot;content-container&quot;&gt;
     &lt;fieldset&gt;&lt;legend&gt;Error Summary&lt;/legend&gt;
      &lt;h2&gt;HTTP Error 404.0 - Not Found&lt;/h2&gt;
      &lt;h3&gt;The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.&lt;/h3&gt;
     &lt;/fieldset&gt;
    &lt;/div&gt;
    &lt;div class=&quot;content-container&quot;&gt;
     &lt;fieldset&gt;&lt;legend&gt;Detailed Error Information&lt;/legend&gt;
      &lt;div id=&quot;details-left&quot;&gt;
       &lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
        &lt;tr class=&quot;alt&quot;&gt;&lt;th&gt;Module&lt;/th&gt;&lt;td&gt;IIS Web Core&lt;/td&gt;&lt;/tr&gt;
        &lt;tr&gt;&lt;th&gt;Notification&lt;/th&gt;&lt;td&gt;MapRequestHandler&lt;/td&gt;&lt;/tr&gt;
        &lt;tr class=&quot;alt&quot;&gt;&lt;th&gt;Handler&lt;/th&gt;&lt;td&gt;StaticFile&lt;/td&gt;&lt;/tr&gt;
        &lt;tr&gt;&lt;th&gt;Error Code&lt;/th&gt;&lt;td&gt;0x80070002&lt;/td&gt;&lt;/tr&gt;
         
       &lt;/table&gt;
      &lt;/div&gt;
      &lt;div id=&quot;details-right&quot;&gt;
       &lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
        &lt;tr class=&quot;alt&quot;&gt;&lt;th&gt;Requested URL&lt;/th&gt;&lt;td&gt;http://beta.example.net:80/&lt;/td&gt;&lt;/tr&gt;
        &lt;tr&gt;&lt;th&gt;Physical Path&lt;/th&gt;&lt;td&gt;C:\projects\Mint\edge\Web&lt;/td&gt;&lt;/tr&gt;
        &lt;tr class=&quot;alt&quot;&gt;&lt;th&gt;Logon Method&lt;/th&gt;&lt;td&gt;Anonymous&lt;/td&gt;&lt;/tr&gt;
        &lt;tr&gt;&lt;th&gt;Logon User&lt;/th&gt;&lt;td&gt;Anonymous&lt;/td&gt;&lt;/tr&gt;
        &lt;tr class=&quot;alt&quot;&gt;&lt;th&gt;Failed Request Tracing Log Directory&lt;/th&gt;&lt;td&gt;&lt;a href=&quot;file://C:\inetpub\logs\FailedReqLogFiles&quot;&gt;C:\inetpub\logs\FailedReqLogFiles&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
       &lt;/table&gt;
       &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
      &lt;/div&gt;
     &lt;/fieldset&gt;
    &lt;/div&gt;
    &lt;div class=&quot;content-container&quot;&gt;
     &lt;fieldset&gt;&lt;legend&gt;Most likely causes:&lt;/legend&gt;
      &lt;ul&gt;     &lt;li&gt;The directory or file specified does not exist on the Web server.&lt;/li&gt;     &lt;li&gt;The URL contains a typographical error.&lt;/li&gt;     &lt;li&gt;A custom filter or module, such as URLScan, restricts access to the file.&lt;/li&gt; &lt;/ul&gt;
     &lt;/fieldset&gt;
    &lt;/div&gt;
    &lt;div class=&quot;content-container&quot;&gt;
     &lt;fieldset&gt;&lt;legend&gt;Things you can try:&lt;/legend&gt;
      &lt;ul&gt;     &lt;li&gt;Create the content on the Web server.&lt;/li&gt;     &lt;li&gt;Review the browser URL.&lt;/li&gt;     &lt;li&gt;Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click &lt;a href=&quot;http://go.microsoft.com/fwlink/?LinkID=66439&quot;&gt;here&lt;/a&gt;. &lt;/li&gt; &lt;/ul&gt;
     &lt;/fieldset&gt;
    &lt;/div&gt;
     
     
    &lt;div class=&quot;content-container&quot;&gt;
     &lt;fieldset&gt;&lt;legend&gt;Links and More Information&lt;/legend&gt;
      This error means that the file or directory does not exist on the server. Create the file or directory and try the request again.
      &lt;p&gt;&lt;a href=&quot;http://go.microsoft.com/fwlink/?LinkID=62293&amp;amp;IIS70Error=404,0,0x80070002,6001&quot;&gt;View more information &amp;raquo;&lt;/a&gt;&lt;/p&gt;
       
     &lt;/fieldset&gt;
    &lt;/div&gt;
    &lt;/div&gt;
    &lt;/body&gt;
    &lt;/html&gt;
    </Data>
     </EventData>
     <RenderingInfo Culture="en-US">
      <Opcode>GENERAL_RESPONSE_ENTITY_BUFFER</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>36</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2008-11-24T07:48:43.521Z"/>
      <Correlation ActivityID="{00000000-0000-0000-4E00-0080000000F1}"/>
      <Execution ProcessID="5244" ThreadID="4984"/>
      <Computer>CHRIS-VISTA64</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-4E00-0080000000F1}</Data>
      <Data Name="BytesSent">5512</Data>
      <Data Name="ErrorCode">0</Data>
     </EventData>
     <RenderingInfo Culture="en-US">
      <Opcode>GENERAL_FLUSH_RESPONSE_END</Opcode>
      <freb:Description Data="ErrorCode">The operation completed successfully.
     (0x0)</freb:Description>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>0</Level>
      <Opcode>2</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2008-11-24T07:48:43.521Z"/>
      <Correlation ActivityID="{00000000-0000-0000-4E00-0080000000F1}"/>
      <Execution ProcessID="5244" ThreadID="4984"/>
      <Computer>CHRIS-VISTA64</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-4E00-0080000000F1}</Data>
      <Data Name="BytesSent">5512</Data>
      <Data Name="BytesReceived">397</Data>
      <Data Name="HttpStatus">404</Data>
      <Data Name="HttpSubStatus">0</Data>
     </EventData>
     <RenderingInfo Culture="en-US">
      <Opcode>GENERAL_REQUEST_END</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    </failedRequest>

  • 11-30-2008, 12:51 AM In reply to

    • boylan
    • Not Ranked
    • Joined on 11-21-2008, 3:45 PM
    • Posts 3

    Re: 404.4 and 404.0 when requesting default document

     Fixed it.  For future reference, the solution was really stupid. In the web.config, the Static File handler with the Static File Module and Default Document Module had the "resourceType" set to "file".  The other options are "folder" and "either".  Obviously, I want the Default Doc module to handle folder and file requests, so the correct choice is "either", which fixed everything.

     <add name="StaticFile" path="*" verb="*" type="" modules="DefaultDocumentModule,StaticFileModule,DirectoryListingModule" scriptProcessor="" resourceType="Either" requireAccess="Read" preCondition="" />

     

Page 1 of 1 (9 items)
Microsoft Communities