[Mono-bugs] [Bug 684803] New: XmlSiteMapProvider parsing: Can't find a site map node for the url: Default.aspx

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Apr 4 03:44:30 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=684803

https://bugzilla.novell.com/show_bug.cgi?id=684803#c0


           Summary: XmlSiteMapProvider parsing: Can't find a site map node
                    for the url: Default.aspx
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.10.x
          Platform: i586
        OS/Version: openSUSE 11.4
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: C#
        AssignedTo: msafar at novell.com
        ReportedBy: wfhse at web.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101
Firefox/4.0

Using the XmlSiteMapProvider to build the website menu always occurs the under
actual results added exception.

Reproducible: Always

Steps to Reproduce:
1. C# ASP.NET Website
2. use the XmlSiteMapProvider to build the menu
3. define a Sitemap-XML
Actual Results:  
System.ArgumentException: Can't find a site map node for the url: Default.aspx
  at System.Web.UI.WebControls.SiteMapDataSource.GetStartNode (System.String
viewPath) [0x00173] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI.WebControls/SiteMapDataSource.cs:229 
  at System.Web.UI.WebControls.SiteMapDataSource.GetHierarchicalView
(System.String viewPath) [0x00000] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI.WebControls/SiteMapDataSource.cs:173 
  at
System.Web.UI.HierarchicalDataSourceControl.System.Web.UI.IHierarchicalDataSource.GetHierarchicalView
(System.String viewPath) [0x00000] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI/HierarchicalDataSourceControl.cs:56 
  at System.Web.UI.WebControls.HierarchicalDataBoundControl.GetData
(System.String viewPath) [0x0002e] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI.WebControls/HierarchicalDataBoundControl.cs:64 
  at System.Web.UI.WebControls.Menu.PerformDataBinding () [0x00029] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI.WebControls/Menu.cs:996 
  at
System.Web.UI.WebControls.HierarchicalDataBoundControl.InternalPerformDataBinding
() [0x0001d] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI.WebControls/HierarchicalDataBoundControl.cs:141 
  at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect ()
[0x0000b] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI.WebControls/HierarchicalDataBoundControl.cs:151 
  at System.Web.UI.WebControls.BaseDataBoundControl.DataBind () [0x00000] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI.WebControls/BaseDataBoundControl.cs:141 
  at System.Web.UI.WebControls.Menu.DataBind () [0x00000] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI.WebControls/Menu.cs:1290 
  at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound ()
[0x00016] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI.WebControls/BaseDataBoundControl.cs:147 
  at System.Web.UI.WebControls.Menu.EnsureDataBound () [0x00000] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI.WebControls/Menu.cs:1260 
  at System.Web.UI.WebControls.Menu.CreateChildControls () [0x00021] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI.WebControls/Menu.cs:1222 
  at System.Web.UI.Control.EnsureChildControls () [0x00041] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI/Control.cs:986 
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00015] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI/Control.cs:1686 
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00083] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI/Control.cs:1705 
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00083] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI/Control.cs:1705 
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00083] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI/Control.cs:1705 
  at System.Web.UI.Page.ProcessLoadComplete () [0x00089] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI/Page.cs:1522 
  at System.Web.UI.Page.InternalProcessRequest () [0x001cb] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI/Page.cs:1435 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00062] in
/usr/src/packages/BUILD/mono-2.10.1/mcs/class/System.Web/System.Web.UI/Page.cs:1260 

Expected Results:  
Website with a menu like in the Web.sitemap file defined

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list