PDA

View Full Version : Use 1 sitemap on different websites



andrea.roux
11 Jun 2009, 09:18 AM
I created a main project (called the Portal) that has the sitemap and master page in it. I created a virtual path provider so that other projects/site can use the master page. I created a project called WebTest that uses the virtual path provider to get the master page of Portal. But WebTest now complains that it can't find the sitemap.

I want WebTest to use the sitemap of Portal. How do I do this.

I've tried adding the following code in the web.config file:
add name="WebSiteMap" type="System.Web.XmlSiteMapProvider" siteMapFile="~/Tax.sitemap"

I do not want to use Sharepoint. Is there an easier why to share the sitemap accross IIS?