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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +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 _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
