Error: Exactly one <sitemapnode> element is required directly inside the <sitemap> element.</sitemap></sitemapnode>
-
I have created Web.sitemap file. <?xml version="1.0" encoding="utf-8"?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0"> <siteMapNode title="Home" description=""> </siteMapNode> <siteMapNode title="Products And Services" description=""> </siteMapNode> <siteMapNode title="Clients" description=""> </siteMapNode> <siteMapNode title="ContactUs" description=""> </siteMapNode> </siteMap> When I run this web application, it shows following error. Exactly one <siteMapNode> element is required directly inside the <siteMap> element. Plz help me to solve this problem.
-
I have created Web.sitemap file. <?xml version="1.0" encoding="utf-8"?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0"> <siteMapNode title="Home" description=""> </siteMapNode> <siteMapNode title="Products And Services" description=""> </siteMapNode> <siteMapNode title="Clients" description=""> </siteMapNode> <siteMapNode title="ContactUs" description=""> </siteMapNode> </siteMap> When I run this web application, it shows following error. Exactly one <siteMapNode> element is required directly inside the <siteMap> element. Plz help me to solve this problem.
I googled and found these [^]results. And infact, the first one [^]looks to be the answer itself. :)
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
I googled and found these [^]results. And infact, the first one [^]looks to be the answer itself. :)
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
I have already seen that solutions and even made the changes as well. But it doesn't solve my problem. Can u help me out? Thanks?
-
I googled and found these [^]results. And infact, the first one [^]looks to be the answer itself. :)
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
I removed that problem with the help of p2p.wrox.com. But now one more problem is that it is not showing all the menu items. How can I resolve this issue? Can u help me as i'm a beginner plz?