<p>I have a asp:menu object which I set up to use a <em>SiteMapDataSource</em> but everytime I try to run the site, I get a yellow screen from firefox saying it cannot find the <code>web.sitemap</code>. Here's the code for the <em>sitemapdatasource</em> and the menu. The Web.sitemap file is sitting in the root directory of the website.</p>

<pre><code>&lt;div&gt;
     &lt;asp:Menu ID="MainMenu" CssClass="wTheme" Orientation="Horizontal" runat="server" DataSourceID="SiteMapDataSource1"&gt;
     &lt;/asp:Menu&gt;
     &lt;asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" SiteMapProvider="Web.sitemap" /&gt;
&lt;/div&gt;
</code></pre>

<p>And this is the Web.sitemap looks like so:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
</code></pre>

<p>
  
    
    
    
    
    
    
    
  
</p>

[{'answer_id': 80060, 'author': 'Encoder', 'author_id': 14629, 'author_profile': 'https://Stackoverflow.com/users/14629', 'pm_score': 3, 'selected': True, 'text': '<p>I had a similar problem where I was specifying the path to the SiteMap from within my DataSource control. I tried removing it and it worked.</p>\n\n<p>Try removing the path from the SiteMapDataSource and ensure that web.sitemap is in the root directory and see if that fixes it.</p>\n'}, {'answer_id': 80061, 'author': 'dimarzionist', 'author_id': 10778, 'author_profile': 'https://Stackoverflow.com/users/10778', 'pm_score': 0, 'selected': False, 'text': '<p>You need to specify in web.config to use XmlSiteMapProvider and provide it with correct path to .sitemap file.</p>\n'}]
['https://Stackoverflow.com/questions/80031', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4298/']