[Mono-bugs] [Bug 78797][Nor] New - [2.0] web.config pages/controls config section ignored

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Jul 8 10:19:11 EDT 2006


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=78797

--- shadow/78797	2006-07-08 10:19:11.000000000 -0400
+++ shadow/78797.tmp.8816	2006-07-08 10:19:11.000000000 -0400
@@ -0,0 +1,60 @@
+Bug#: 78797
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: mmorano at mikeandwan.us               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [2.0] web.config pages/controls config section ignored
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+Using a new feature of 2.0 to register user controls application wide in
+the web.config does not appear to be referenced during the page compilation
+process.  I have the following defined in web.config:
+
+...
+<pages>
+  <controls>
+      <add tagPrefix="mm" namespace="ns" assembly="ns.dll" />
+      <add tagPrefix="mm" tagName="MyControl"
+src="~/includes/controls/MyControl.ascx" />
+  </controls>
+</pages>
+...
+
+Then when I access a page using one of the controls that is registered via
+this mechanism, it indicates that the tag prefix is not registered.  This
+works fine on the MS runtime.
+
+
+Actual Results:
+
+Parser error generated indicating: tag prefix mm not registered
+
+
+Expected Results:
+
+Page loads correctly - pulling in the control registration info that is
+defined in the web.config
+
+
+How often does this happen? 
+
+always
+
+
+Additional Information:
+
+using latest mono from svn as of July 8, 2006


More information about the mono-bugs mailing list