2.0 Noob needs help with sitemap



I keep getting this error:

Could not find the sitemap node with URL '~/Web.sitemap'.

I have a master page that has a menu control and a SiteMapDataSource on it.
<asp:Menu ID="Menu1" runat="server" Orientation="Horizontal"
DataSourceID="SiteMapDataSource1">

</asp:Menu>

<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server"
StartingNodeOffset="1" StartingNodeUrl="~/Web.sitemap" />



My sitemap code looks like this:

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

<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0"; >

<siteMapNode url="default.aspx" title="Home" description="Home" >

<siteMapNode url="categories.asp" title="Categories"
description="Categories" >

<siteMapNode url="Categories.aspx?cat=1" title="Product Type Categories"
description="Product Type Categories" />

<siteMapNode url="Categories.aspx?cat=2" title="Other Categories"
description="Categories" />

</siteMapNode>

<siteMapNode url="links.asp" title="Directory" description="" />

<siteMapNode url="about_us.asp" title="About Us" description="" >

<siteMapNode url="feedback.asp" title="Feedback" description="" />

<siteMapNode url="contactInfo.aspx" title="Contact Info" description="" />

</siteMapNode>

</siteMapNode>

</siteMap>

Can anyone see anything wrong with this? I've taken out some of the menu
structure to see if maybe it doesn't like some of the siteMapNodes but even
if I just have the default.aspx as the only node, I still get the error.

If you can help, please let me know.
Thanks!
Velvet


.



Relevant Pages

  • roleProvider and Windows Authentication
    ... I have a sitemap file containing all of the pages in my application so far. ... have a menu control on a master page which uses this sitemap as it's ... description="Create a new register based upon an issued reigster template" /> ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: 2.0 Noob needs help with sitemap
    ... Could not find the sitemap node with URL '~/Web.sitemap'. ... I have a master page that has a menu control and a SiteMapDataSource on ... My sitemap code looks like this: ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: new menu control is very slow
    ... added links in the siteMap, and added some names to the GridView. ... > Regarding on the Menu control displaying slow problem, ... If the problem occurs on all the client, ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • RE: site maps & menu control
    ... <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0"</a>;> ... If you want horizonal orientation of nodes go for Menu Control and if yo ... Heres is the format I want on the leftside of my form. ... not have any url set as property, they are exactly that, just headings and I ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • RE: ASP.NET
    ... sitemap and so as a user control. ... > programmer and uses VB.NET quite extensively. ... > would be to use frames, but I don't want to go with frames. ...
    (microsoft.public.dotnet.framework.aspnet)