opensubscriber
   Find in this group all groups
 
Unknown more information…

d : dotnet-web@discuss.develop.com 17 July 2008 • 1:43PM -0400

[DOTNET-WEB] sitemap provider error
by Andrew Dunn

REPLY TO AUTHOR
 
REPLY TO GROUP



Hello,

I have an error with the sitemap provider. This is my sitemap section in
the web.config file:

<siteMap defaultProvider="=BH_SiteMapProvider" enabled="true">
      <providers>
        <add name="BH_SiteMapProvider"
             type="System.Web.XmlSiteMapProvider, System.Web,
Version=2.0.0.0, Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a"
             securityTrimmingEnabled="true"
             siteMapFile="web.sitemap"/>
      </providers>
</siteMap>

When I run it I get the error:

The provider '=BH_SiteMapProvider' specified for the defaultProvider
does not exist in the providers collection.
(c:\inetpub\wwwroot\beerhouse\web.config line 156)

Could anyone point me how to fix this?

Andrew

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.