G
Guest
I have a site that uses a combination of Web.Sitemap and a SqlSiteMapProvider
that I created (thanks to Jeff Proisse @ MSDN). One node of the Web.Sitemap
is the same as the root node from the SqlSiteMap. Each SiteMapProvider
sources a separate menu. I use this configuration because it allows me to
control static display depth on the menus separately. This worked fine on my
local development machine, but when I moved the site to a development server,
and that site was configured to use a host header, the behavior changed.
It's almost as though the "link" between the node in Web.Sitemap and the root
node in SqlSiteMap is broken.
I can easily reproduce this using a sample site, running under both the
default web site and a host header-site. Code, including the Sql database,
can be downloaded from ftp.seratec-inc.com, login as
(e-mail address removed), and download SqlSiteMap.zip.
that I created (thanks to Jeff Proisse @ MSDN). One node of the Web.Sitemap
is the same as the root node from the SqlSiteMap. Each SiteMapProvider
sources a separate menu. I use this configuration because it allows me to
control static display depth on the menus separately. This worked fine on my
local development machine, but when I moved the site to a development server,
and that site was configured to use a host header, the behavior changed.
It's almost as though the "link" between the node in Web.Sitemap and the root
node in SqlSiteMap is broken.
I can easily reproduce this using a sample site, running under both the
default web site and a host header-site. Code, including the Sql database,
can be downloaded from ftp.seratec-inc.com, login as
(e-mail address removed), and download SqlSiteMap.zip.