[Mono-bugs] [Bug 81058][Nor] New - Control assemblies are not lazy loaded

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Mar 6 17:15:53 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 gert.driesen at pandora.be.


--- shadow/81058	2007-03-06 17:15:53.000000000 -0500
+++ shadow/81058.tmp.32415	2007-03-06 17:15:53.000000000 -0500
@@ -0,0 +1,69 @@
+Bug#: 81058
+Product: Mono: Class Libraries
+Version: 1.2
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mhabersack at novell.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Control assemblies are not lazy loaded
+MS appears to load control assemblies only when the assigned tagPrefix is 
+actually used in a page, while we're loading then immediately on start-up.
+To reproduce:
+1. extract the attached gzipped tar archive.
+2. compile test.cs using 'gmcs /r:System.Web.dll test.cs'.
+3. run the compile exe using 'mono test.exe'
+Expected result:
+No output and exit code 0.
+Actual result:
+<title>Error 500</title><body bgcolor="white"><h1><font color="red">Server 
+error in '/' application</font></h1><hr>
+<h2><font color="maroon"><i>Assembly Does.Not.Exist not 
+<b>Description: </b>Error processing request.
+<b>Error Message: </b>HTTP 500. Assembly Does.Not.Exist not found
+System.Web.HttpException: Assembly Does.Not.Exist not found
+  at System.Web.Compilation.AspComponentFoundry.GetAssemblyByName 
+(System.Collections.Generic.Dictionary`2 cache, System.String name) 
+  at System.Web.Compilation.AspComponentFoundry.RegisterConfigControls () 
+  at System.Web.Compilation.AspComponentFoundry..ctor () [0x00000] 
+  at System.Web.UI.RootBuilder..ctor (System.Web.UI.TemplateParser parser) 
+  at System.Web.Compilation.AspGenerator..ctor 
+(System.Web.UI.TemplateParser tparser) [0x00000] 
+  at System.Web.UI.PageParser.CompileIntoType () [0x00000] 
+  at System.Web.UI.TemplateControlParser.GetCompiledInstance () [0x00000] 
+  at System.Web.UI.PageParser.GetCompiledPageInstance (System.String 
+virtualPath, System.String inputFile, System.Web.HttpContext context) 
+  at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext 
+context, System.String requestType, System.String url, System.String path) 
+  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext 
+context) [0x00000] 
+  at System.Web.HttpApplication+&lt;&gt;c__CompilerGenerated3.MoveNext () 

More information about the mono-bugs mailing list