467,876 Members | 1,208 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,876 developers. It's quick & easy.

Web.config - site map path

when i past the following code in web.config file it says attributes are not
declaired

<siteMap defaultProvider="XmlSiteMapProvider" enabled="true">
<providers>
<add name="XmlSiteMapProvider"
description="SiteMap provider which reads in .sitemap XML
files."
type="System.Web.XmlSiteMapProvider, System.Web,
Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
siteMapFile="web.sitemap"
securityTrimmingEnabled="true"/>
</providers>
</siteMap>
<compilation defaultLanguage="C#"/>
thnx
Nov 19 '05 #1
  • viewed: 6622
Share:
1 Reply
The provider model allows for arbitrary attributes when you configure them.
The web.config XML schema can't possibly know every attribute that will ever
be used, so it's misleading. It should run fine, and that's the important
thing.

-Brock
DevelopMentor
http://staff.develop.com/ballen
when i past the following code in web.config file it says attributes
are not declaired

<siteMap defaultProvider="XmlSiteMapProvider" enabled="true">
<providers>
<add name="XmlSiteMapProvider"
description="SiteMap provider which reads in .sitemap XML
files."
type="System.Web.XmlSiteMapProvider, System.Web,
Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
siteMapFile="web.sitemap"
securityTrimmingEnabled="true"/>
</providers>
</siteMap>
<compilation defaultLanguage="C#"/>
thnx


Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by WFB | last post: by
3 posts views Thread by Natan | last post: by
10 posts views Thread by mike | last post: by
6 posts views Thread by Mikey_Doc | last post: by
6 posts views Thread by openleren | last post: by
12 posts views Thread by Ben | last post: by
2 posts views Thread by Arpan | last post: by
5 posts views Thread by =?Utf-8?B?SmVycnkgQw==?= | last post: by
reply views Thread by jack112 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.