asp.NET SiteMap missing all of a sudden

AkAlan used Ask the Experts™
I have a very small Visual Studio solution which contains a web site and a web application. The web application was recently created by converting the web site into a web app. I am using a Master page and I have a web.sitemap file with just one sitenode. I have been developing a web page today in the web app and I noticed the link from the sitemap was not there when I viewd it in Browser. It was definitaely there this morning. I opened the web site to see what was going on and it doesn't show in browser mode either. I don't know what I could have done in the solution that could cause this problem to effect both projects. The web.sitemap, web.config and Treeviews all look fine. Any ideas? Thanks for any help
 <asp:TreeView  ID="tvSiteMap" 
       runat="server" />

<?xml version="1.0" encoding="utf-8" ?>

<siteMap xmlns="" >

    <siteMapNode title="Arctec Logistics Home Page" url="" roles ="ars\Everyone" description="Logistics Home">
            title ="Requisitions" 
            roles ="ars\Everyone">
                    title="View Requisitions"  
                    description="View Requisitions"/>
web.config code for sitemap:
 <siteMap defaultProvider="XmlSiteMapProvider" enabled="true">
        <add name="XmlSiteMapProvider" description="Default SiteMap provider" type="System.Web.XmlSiteMapProvider" siteMapFile="Web.sitemap" securityTrimmingEnabled="true"/>

Open in new window

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
on your SiteMapDataSource1 check to see if you have showstartingnode="true"in your attributes. you can also define it like so:

<asp:sitemapdatasource id="SiteMapDataSource1" runat="server" showstartingnode="true"  />
The sitemap disappears only when the sitemap path is broken, may be when you converts the website to web application then sitemap path are broken.


The sitemap worked after the conversion. When it broke, it broke both in my web site and my web application. I'll look at the showstartingnode in the morning, thanks.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial