ASP.NET Sitemap Provider sitemap tabs not showing
<p>I am using VS2005 and I'm having some trouble with the sitemap tabs.</p>

<p>I have assigned 2 roles in my ASP.NET Configuration tool, and assigned each user with a role.</p>

<p>My login is working normally, and the <strong>access control is working</strong>. If I am not logged in and I try to access a role restricted page, it will redirect me to login page.</p>

<p>However, when I logged in, some of the site nodes which are suppose to display when I am logged in with the correct privileged user, it still does not show.</p>

<hr>

<p>Before login:
<img src="http://i.stack.imgur.com/A2o3z.png" alt="enter image description here"></p>

<hr>

<p>After login: <img src="http://i.stack.imgur.com/F3tTY.png" alt="enter image description here"></p>

<p>From the screenshots above, my nodes only showed <code>Home</code> in both logged in and not logged in. I should see a Database Management tab which is unrestricted to <code>admin01</code>.</p>

<hr>

<p>Below is my <code>Web.config</code> code snippet:</p>

<pre><code>    &lt;system.web&gt;
  &lt;authentication mode="Forms" /&gt;
  &lt;roleManager enabled="true" /&gt;
  &lt;pages styleSheetTheme="DataWebControls" /&gt;

        &lt;siteMap defaultProvider="XmlSiteMapProvider" enabled="true"&gt;
            &lt;providers&gt;
                &lt;add name="XmlSiteMapProvider"
                  description="Default SiteMap provider."
                  type="System.Web.XmlSiteMapProvider"
                  siteMapFile="Web.sitemap"
                  securityTrimmingEnabled="true" /&gt;
            &lt;/providers&gt;
        &lt;/siteMap&gt;
        &lt;compilation debug="true"/&gt; 
    &lt;/system.web&gt;
</code></pre>

<hr>

<p>If I remove the whole code from <code>&lt;siteMap&gt;&lt;/siteMap&gt;</code>, my nodes will appear as normal:</p>

<p><img src="http://i.stack.imgur.com/bjdWP.png" alt="enter image description here"></p>

<hr>

<p>I am not expecting a perfect solution as I do not know if the information I provided is sufficient, but I will appreciate any help given.</p>

<p>If more info is needed from me, please tell me and I will provide additional information.</p>

<p>Thank you</p>

<hr>

<p>EDITED: Added <code>Web.sitemap</code> code snippet:</p>

<pre><code>&lt;siteMapNode url="/Project/Default.aspx"
          title="Home" description="Home"&gt;

    &lt;siteMapNode title="Database Management"
     description="Database tab"&gt;

        &lt;siteMapNode url="/Project/Database/Employee.aspx"
         title="Employee"
         description="" /&gt;

        &lt;siteMapNode url="/Project/Databaase/Customer.aspx"
          title="Customer"
          description="" /&gt;

        &lt;siteMapNode url="/Project/Database/Goods.aspx"
          title="Goods"
          description="" /&gt;

        &lt;siteMapNode url="/Project/Database/Transactions.aspx"
          title="Past Transactions"
          description="" /&gt;

    &lt;/siteMapNode&gt;

&lt;/siteMapNode&gt;
</code></pre>

<hr>

<p>EDITED: Added <code>Access role screenshot</code> on folder <code>/Project/Database</code>:</p>

<p><img src="http://i.stack.imgur.com/dmtVD.png" alt="enter image description here">
<img src="http://i.stack.imgur.com/o1r2u.png" alt="enter image description here"></p>

<hr>

<p>Additional info: </p>

<p><em>Even if access rules are not created, and users are not assigned with any roles, the <code>Database</code> nodes are still not displayed</em></p>
