Web.config - site map path

  • Thread starter Thread starter Chanaka_2005
  • Start date Start date
C

Chanaka_2005

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
 
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
 
Back
Top