A step by step tutorial teaching you how to create your own chat client and chat server easily in C#, for local networks or the Internet.
A C# tutorial showing you how to make use of WMI to extract information on disk drives, such as model, capacity, sectors and serial number.
This tutorial will teach you how to calculate the shipping cost based on the weight, height, length and depth of the box, the distance and the UPS service type.
Creating a Rich Text Editor using JavaScript is easier to do than you might think, thanks to the support of modern browsers; this tutorial will walk you through it.
The file web.sitemap required by XmlSiteMapProvider does not exist. |
On Sunday, May 28th 2006 at 09:10 AM By Andrew Pociu (View Profile) ![]() ![]() ![]() ![]() (Rated 3 with 6 votes) |
||
|
The most common case when the
"The file web.sitemap required by XmlSiteMapProvider does not exist" error is received is when a SiteMap control was added to a WebForm, however you don't have a mandatory Web.sitemap file in the root of your web application. To fix this error, make sure you have this file in the root directory, and that it is a valid XML file that has the website's sitemap defined. An example Web.sitemap file can be seen below: <?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> |
|||
Digg It!
Del.icio.us
Reddit
StumbleIt
Newsvine
Furl
BlinkList
|
|||
|
|||
Current CommentsI changed the default name for this file, and it gave me this error, and I changed it back to the default name and it worked. Point is, if the name cannot be changed, then why prompt? Also, what if I want to have user specific sitemaps based on their permissions? Is there some setting which needs to be changed?
useful link
I didn't change the name of my web.sitemap file... Created it in Visual Web Developer 2005, set up the links, it all works when I build the site without debugging (I'm not debugging coz I don't want to create a web.config file yet), but as soon as I try to browse to the site's location on my machine, I get this error
I had the same problem. And it wasn't a problem at all. The only thing you should remember is your web.sitemap is supposed to be at the _ROOT_ folder, but not any other folder.
the web.sitemap must be in the root folder of the whole site not just the working sub-folder. www.site.com/web.sitemap not-www.site.com/website1/web.sitemap
please response that material which are asked.asking for somthing and response another thig .what is thi man/women?
when i was studying asp.net 2.0 from wrox it worked fine then after few years when i try to practise it in my project i missed point that file name can not be modified that landed be in trouble,i tried different combination of xmldatasource,sitemapdatasource,sitemappath finally after googling got the right reason for error thanks.You saved by sleep.
Very helpful...it fixed my error.
Thanks!
You can rename your sitemap but you need to specify it in web.config file like example below
<siteMap defaultProvider="Your_Anonymous_sitemap">
<providers>
<add securityTrimmingEnabled="false" siteMapFile="~/anonymous.sitemap" name="Your_Anonymous_sitemap" type="System.Web.XmlSiteMapProvider"/>
<add securityTrimmingEnabled="true" siteMapFile="~/Your_loggedin.sitemap" name="loggedin_sitemap" type="System.Web.XmlSiteMapProvider"/>
</providers>
</siteMap>
@Kevinbianni - I understand the concept of having a sitemap in the ROOT directory, however, what if you have two separate projects with two separate sitemaps? For some reason, the name cannot be changed to the sitemap and I can't add it to the ROOT or it will replace my old sitemap and the other project will not work. Any ideas on how to fix this problem?
Thanks for the solution
Dear
sir free msdn visual stidio my email Id send and please give me the like to download MSDN Visual studio 6,......................
I would like to thank you for your nicely written post, its informative and your writing style encouraged me to read it till end. Thanks
Thank you for sharing this with the users. Often we come across such technical glitches that actually takes time and effort to be fixed. Thankfully there are so many online resources available that you now easily find solutions.
i take my web.sitemap to the root folder and its works fine.Thanks
Related Knowledge Base Articles
Related Source Code
Related Tutorials
ASP.NET Job SearchFrom the creators of Geekpedia, a revolutionary new coupon website!
BargainEZ has coupons codes, printable coupons, bargains and it is the leading source of Passbook coupons for iPhone and iPod touch devices.