Note that there are some explanatory texts on larger screens.

plurals
  1. POIIS 7.5 Not serving Default Document in Integrated pipeline mode?
    primarykey
    data
    text
    <p><strong>Before change:</strong></p> <p>I have website <code>local.Mywebsite.com</code> hosted in my Local IIS 7.5.The website is running in <em>.net version 4.0</em> and IIS app pool is in <strong>Integrated pipeline mode</strong>. It is working perfectly fine.</p> <p>I am able to Browse the <strong>local.Mywebsite.com/default.aspx</strong> as <strong>local.Mywebsite.com</strong> It means IIS serving the default document as i configured.</p> <p><strong>The Change:</strong></p> <p>I had a requirement to include another application <strong>Foo</strong> to My website as virtual directory.I added that and am able to Browse and use the same with complete path as <strong>local.Mywebsite.com/Foo/Mypage.aspx</strong>.</p> <p>Then i configured a default document for my <strong>Foo</strong> virtual directory.</p> <p><strong>MY issue:</strong></p> <p>I try to browse to <strong>local.Mywebsite.com/Foo/</strong></p> <p>I got an error:</p> <pre><code>The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. </code></pre> <p>Now IIS is not serving default document for my <strong>Foo</strong> virtual directory. </p> <p>But still am able to browse <strong>local.Mywebsite.com</strong>, IIS serves default document here.</p> <p>Any one have any idea or any suggestions are highly appreciated.</p> <p><strong>Update:</strong></p> <p>When i <strong>Rename</strong> the file <strong>Mypage.aspx</strong> in to <strong>Default.aspx</strong>, then IIS serves the default document pretty fine. Am able to see the <strong>default.aspx</strong> page by browsing <strong>local.Mywebsite.com/Foo/</strong>.</p> <p>My Web config:</p> <pre><code>&lt;defaultDocument enabled="true"&gt; &lt;files&gt; &lt;clear/&gt; &lt;add value="Mypage.aspx" /&gt; &lt;/files&gt; &lt;/defaultDocument&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload