0
Answer

Error in menu control navigation using sitemap

chitra

chitra

12y
1.2k
1
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...