chitra

chitra

  • NA
  • 34
  • 21k

Error in menu control navigation using sitemap

May 12 2012 1:10 AM
i used menu control for navigation. i used sitemap for different login user...in my lost host its working well. when i upload my app on server, its shows the error in web.config file near


Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. 

<siteMap>
      <providers>
        <add name="MyNewSitemapProvider"
                type="System.Web.XmlSiteMapProvider"
                siteMapFile="MyNewSitemapFile.sitemap"/>
      </providers>
    </siteMap>

can u plz, tell me where i had made mistake...