[Mono-bugs] [Bug 80611][Wis] New - SiteMap config should be enabled by default

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jan 24 19:13:59 EST 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by mmorano at mikeandwan.us.

http://bugzilla.ximian.com/show_bug.cgi?id=80611

--- shadow/80611	2007-01-24 19:13:59.000000000 -0500
+++ shadow/80611.tmp.2410	2007-01-24 19:13:59.000000000 -0500
@@ -0,0 +1,93 @@
+Bug#: 80611
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: mmorano at mikeandwan.us               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SiteMap config should be enabled by default
+
+Description of Problem:
+
+When porting a working vs.net 2005 web project to mono, mono threw an
+exception that site maps were not enabled (as there was no sitemap
+configuration supplied in the web.config).  Looking here on msdn: 
+http://msdn2.microsoft.com/en-us/library/system.web.configuration.sitemapsection.enabled.aspx
+indicates that sitemaps should be enabled by default (which is why the code
+works on ms without the <sitemap> entry in the web.config on ms).
+
+Steps to reproduce the problem:
+1. Declare a page to use site map datasource and menu to use
+2. Make sure you do not have a line in the web.config regarding siteMaps.
+3. Access a page using the datasource/menu.
+
+Actual Results:
+You get the following stack trace:
+
+Description: Error processing request.
+
+Error Message: HTTP 500.
+
+Stack Trace:
+
+Description: Error processing request.
+
+Error Message: HTTP 500.
+
+Stack Trace:
+
+System.InvalidOperationException: This feature is currently disabled. 
+Please enable it in the system.web/siteMap section in the web.config file.
+  at System.Web.SiteMap.Init () [0x00000] 
+  at System.Web.SiteMap.get_Provider () [0x00000] 
+  at System.Web.UI.WebControls.SiteMapDataSource.get_Provider () [0x00000] 
+  at System.Web.UI.WebControls.SiteMapDataSource.GetStartNode
+(System.String viewPath) [0x00000] 
+  at System.Web.UI.WebControls.SiteMapDataSource.GetHierarchicalView
+(System.String viewPath) [0x00000] 
+  at
+System.Web.UI.HierarchicalDataSourceControl.System.Web.UI.IHierarchicalDataSource.GetHierarchicalView
+(System.String viewPath) [0x00000] 
+  at System.Web.UI.WebControls.HierarchicalDataBoundControl.GetData
+(System.String viewPath) [0x00000] 
+  at System.Web.UI.WebControls.Menu.PerformDataBinding () [0x00000] 
+  at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect
+() [0x00000] 
+  at System.Web.UI.WebControls.BaseDataBoundControl.DataBind () [0x00000] 
+  at System.Web.UI.WebControls.Menu.DataBind () [0x00000] 
+  at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound ()
+[0x00000] 
+  at System.Web.UI.WebControls.Menu.EnsureDataBound () [0x00000] 
+  at System.Web.UI.WebControls.Menu.CreateChildControls () [0x00000] 
+  at System.Web.UI.Control.EnsureChildControls () [0x00000] 
+  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] 
+  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] 
+  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] 
+  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] 
+  at System.Web.UI.Page.InternalProcessRequest () [0x00000] 
+  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
+[0x00000] 
+
+
+Expected Results:
+
+Page loads and is able to use sitemap
+
+
+How often does this happen? 
+
+always
+
+
+Additional Information:
+
+mono / xsp2 version as of about 1/20/2007


More information about the mono-bugs mailing list