I am trying to use multiple sitemaps within my site as described in the
following MSDN article:
http://msdn2.microsoft.com/en-us/library/ms178426.aspx
I tried adding the following to the web.config file:
<?xml version="1.0"?>
<configuratio n xmlns="http://schemas.microso ft.com/.NetConfigurati on/v2.0">
<appSettings>
<add key="Connection String" value="Password =xxxxx;Persist Security
Info=True;User ID=username;Ini tial Catalog=DBName; Data Source=SERVERNA ME" />
</appSettings>
<system.web>
<siteMap defaultProvider ="XmlSiteMapPro vider">
<providers>
<add name="TopNaviga tionBar" type="System.We b.XmlSiteMapPro vider"
siteMapFile="~/NavigationMenus/TopNavigationBa r.sitemap" />
<add name="LeftNavig ationBar"type=" System.Web.XmlS iteMapProvider"
siteMapFile="~/NavigationMenus/LeftNavigationB ar.sitemap" />
</providers>
</siteMap>
<compilation debug="true"/>
<authenticati on mode="Windows"/>
</system.web>
</configuration>
But, I recieved the following error: the provider 'XmlSiteMapProv ider'
specified for the defaultProvider does not exist in the providers
collection.
Where did I go wrong?