Hi all
I'm trying to implement the SiteMap component in a web page. The MSDN pages I've read seem to indicate that you can name the .sitemap file something other than web.sitemap. My site will have several different sitemaps, depending on where in the site the user is navigating.
With nothing specified in the web.config file, I get the following error:
The file web.sitemap required by XmlSiteMapProvider does not exist.
If I use the example provided on the MSDN pages ...
I get the following error:
Configuration Error
Parser Error Message: The provider 'XmlSiteMapProvider' specified for the defaultProvider does not exist in the providers collection.
How can I indicate to my menu control referencing this sitemap that it should use the brc.sitemap file and not look for the default web.sitemap?
Thanks as always
Craftor

I'm trying to implement the SiteMap component in a web page. The MSDN pages I've read seem to indicate that you can name the .sitemap file something other than web.sitemap. My site will have several different sitemaps, depending on where in the site the user is navigating.
With nothing specified in the web.config file, I get the following error:
The file web.sitemap required by XmlSiteMapProvider does not exist.
If I use the example provided on the MSDN pages ...
Code:
<siteMap defaultProvider="XmlSiteMapProvider">
<providers>
<add
name="BRCSiteMap"
type="System.Web.XmlSiteMapProvider"
siteMapFile="~/brc.sitemap"/>
</providers>
</siteMap>
I get the following error:
Configuration Error
Parser Error Message: The provider 'XmlSiteMapProvider' specified for the defaultProvider does not exist in the providers collection.
How can I indicate to my menu control referencing this sitemap that it should use the brc.sitemap file and not look for the default web.sitemap?
Thanks as always
Craftor