I have no idea how to solve this... please help Also another off track question... where can i get editor for web (something simple) and some instruction how to implemrnt it into aspx pages? thnx Only <siteMapNode> elements are allowed at this location. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Configuration.ConfigurationErrorsException: Only <siteMapNode> elements are allowed at this location. Source Error: Code: Line 26: Line 27: Function AppendQueryString(ByVal o As [Object], ByVal e As SiteMapResolveEventArgs) As SiteMapNode Line 28: If (Not (SiteMap.CurrentNode) Is Nothing) Then Line 29: Dim temp As SiteMapNode Line 30: temp = SiteMap.CurrentNode.Clone(True) Source File: C:\Users\STICKER\Documents\Visual Studio 2005\WebSites\WebSite1\global.asax Line: 28 Stack Trace:
What does your web.sitemap look like?Please make sure you have made no typo's there? The line on which its erroring out looks fine. Vikram DiscountASP.NET www.DiscountASP.NET
Here is the web.sitemap file <siteMap> <siteMapNode title="Home" url="Default.aspx"> <siteMapNode title="Parish" url="~/parish/parish.aspx" > <siteMapNode title="News" url="~/parish/news.aspx" /> </siteMapNode> <siteMapNode title="School" url="~/school/school.aspx" > <siteMapNode title="News" url="~/school/snews.aspx" /> <siteMapNode title="Teachers" url="~/school/Teachers/Teachers.aspx" > <siteMapnode title="Grade 8" url="~/school/Teachers/Teach/Grade8.aspx" /> <siteMapnode title="Grade 7" url="~/school/Teachers/Teach/Grade7.aspx" /> <siteMapnode title="Grade 6" url="~/school/Teachers/Teach/Grade6.aspx" /> <siteMapnode title="Grade 5" url="~/school/Teachers/Teach/Grade5.aspx" /> <siteMapnode title="Grade 4" url="~/school/Teachers/Teach/Grade4.aspx" /> <siteMapnode title="Grade 3" url="~/school/Teachers/Teach/Grade3.aspx" /> <siteMapnode title="Grade 2" url="~/school/Teachers/Teach/Grade2.aspx" /> <siteMapnode title="Grade 1" url="~/school/Teachers/Teach/Grade1.aspx" /> <siteMapnode title="Kindergarten" url="~/school/Teachers/Teach/Kindergarten.aspx" /> <siteMapnode title="Pre K" url="~/school/Teachers/Teach/PreK.aspx" /> <siteMapnode title="Art" url="~/school/Teachers/Teach/Art.aspx" /> <siteMapnode title="Computers" url="~/school/Teachers/Teach/Computers.aspx" /> <siteMapnode title="Library" url="~/school/Teachers/Teach/Library.aspx" /> <siteMapNode title="Phisical Ed" url="~/school/Teachers/Teach/PhisicalEd.aspx" /> </siteMapNode> <siteMapNode title="Office" url="~/school/Office.aspx" /> <siteMapNode title="Student" url="~/school/Student/Students.aspx" /> <siteMapNode title="Calendar" url="~/school/Calendar/Calendar.aspx" /> <siteMapNode title="Activities" url="~/school/Activities.aspx" /> <siteMapNode title="Alumni" url="~/school/Alumni.aspx" /> </siteMapNode> <siteMapNode title="Services" url="Albums.aspx" > <siteMapNode title="Photos" url="Photos.aspx" > <siteMapNode title="Details" url="Details.aspx" /> </siteMapNode> </siteMapNode> <siteMapNode title="Register" url="Register.aspx" /> <siteMapNode title="Manage" url="Admin/Manage.aspx" > <siteMapNode title="Albums" url="Admin/Albums.aspx" > <siteMapNode title="Photos" url="Admin/Photos.aspx" > <siteMapNode title="Details" url="Admin/Details.aspx" /> </siteMapNode> <siteMapNode title="Site Content" url="Admin/Content.aspx" /> <siteMapNode title="Manage Users" url="Admin/Users.aspx" /> </siteMapNode> </siteMapNode> </siteMapNode> </siteMap>