Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You don't need a site map for each web.config file. When using the sitemap with a menu control and SitemapDataSource, ASP.NET will determine whether you have access to each page named in the sitemap through your configured MembershipProvider and/or RoleProvider, and if you do have access, the sitemap entry will be displayed in the Menu.</p> <p>Note, that if you do not have access to all of the parents of an item in the sitemap, you will not be able to see that item. You can configure your SitemapDataSource with StartingNodeUrl to change where the root of the Menu is set within the sitemap.</p> <p>As far as why you don't see the default page in your Menu, if you can access the default page via entering the URL directly then the problem is most likely that you do not have the Menu or SitemapDataSource set up properly. For help with that, see: <a href="http://msdn.microsoft.com/en-us/library/ms227441.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms227441.aspx</a> and <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.menu.aspx#binding_to_data" rel="nofollow">http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.menu.aspx#binding_to_data</a></p> <p>If you need additional guidance I suggest you try to narrow down the exact cause of the issue, since Membership, Roles, Sitemaps and Menus are a pretty broad set of topics and there are tons of pitfalls that may occur. Get your Menus up and running without security trimming, and verify that Membership and Roles are working properly before you try to link the two.</p>
 

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