[Mono-aspnet-list] problem with web.sitemap

Alexander M. Batishchev abatishchev at godfather.net.ru
Sat Mar 26 04:40:33 EDT 2011


Use 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" roles="*">
      <siteMapNode url="About.aspx" title="About" roles="*" />
    </siteMapNode>
</siteMap>

-----Original Message-----
From: mono-aspnet-list-bounces at lists.ximian.com [mailto:mono-aspnet-list-bounces at lists.ximian.com] On Behalf Of sschaebe
Sent: Friday, March 25, 2011 12:37 PM
To: mono-aspnet-list at lists.ximian.com
Subject: [Mono-aspnet-list] problem with web.sitemap

I added a XMLSitemapProvider to my Web.Config

and my testing Web.Sitemap-Files  contains following lines:


<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
    <siteMapNode url="~/" title=""  description="" roles="*">
      <siteMapNode url="~/Default.aspx" title="Home"  description="" roles="user, maintainer, admin" />
      <siteMapNode url="~/About.aspx" title="&Uuml;ber" description="" roles="*" />
    </siteMapNode>
</siteMap>

By running the application I get the following error message:
Can't find a site map node for the url: ~/

Can someone me? Thank you.

Greetings
Simon Schäberle

--
View this message in context: http://mono.1490590.n4.nabble.com/problem-with-web-sitemap-tp3404954p3404954.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
_______________________________________________
Mono-aspnet-list mailing list
Mono-aspnet-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list



More information about the Mono-aspnet-list mailing list