Thursday, March 22, 2012

The file web.sitemap required by XmlSiteMapProvider does not exist.

hi,

Ive seen a post above the subject in my search on the forum. My XMLFile1 has the following data in it which I copied from the thread. Now if im on a virtual directory what shall I put as sitemap and how shall I connect the sitemap with the xml file please

<?xml version="1.0" encoding="utf-8" ?>

<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >

<siteMapNode url="Default.aspx" title="Geekpedia" description="Home Page of Geekpedia.com ">

<siteMapNode url="Register.aspx" title="Registration" description="Register a new account." />

<siteMapNode url="SignIn.aspx" title="Sign-In" description="Sign-in into your existing account." />

</siteMapNode>

</siteMap><bump>
Get your XmlDataSource to point to XmlFile1.xml. (The datafile property)

0 comments:

Post a Comment