By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,403 Members | 1,687 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,403 IT Pros & Developers. It's quick & easy.

Web.config - site map path

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.