Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Error: Exactly one <sitemapnode> element is required directly inside the <sitemap> element.</sitemap></sitemapnode>

Error: Exactly one <sitemapnode> element is required directly inside the <sitemap> element.</sitemap></sitemapnode>

Scheduled Pinned Locked Moved ASP.NET
helpasp-netcomxmlquestion
4 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Purish Dwivedi
    wrote on last edited by
    #1

    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.

    M 1 Reply Last reply
    0
    • P Purish Dwivedi

      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.

      M Offline
      M Offline
      Manas Bhardwaj
      wrote on last edited by
      #2

      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.

      P 2 Replies Last reply
      0
      • M Manas Bhardwaj

        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.

        P Offline
        P Offline
        Purish Dwivedi
        wrote on last edited by
        #3

        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?

        1 Reply Last reply
        0
        • M Manas Bhardwaj

          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.

          P Offline
          P Offline
          Purish Dwivedi
          wrote on last edited by
          #4

          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?

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups