[Mono-bugs] [Bug 54850][Nor] New - Global.asax containing <object ...>: "Type ... not found."

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 25 Feb 2004 13:11:52 -0500 (EST)

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 juraj@hotfeet.ch.


--- shadow/54850	2004-02-25 13:11:52.000000000 -0500
+++ shadow/54850.tmp.11486	2004-02-25 13:11:52.000000000 -0500
@@ -0,0 +1,56 @@
+Bug#: 54850
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: juraj@hotfeet.ch               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Global.asax containing <object ...>: "Type ... not found."
+Description of Problem:
+When using a global.asax file containing <object ...> tags, xsp on mono
+0.30.2 shows an error and xsp on the latest snapshot shows a different error.
+When I compile mono from cvs (newest or even older versions) it works, but
+I often get unhandled NullReferenceExceptions when exiting xsp.
+Steps to reproduce the problem (mono 0.30.2 from rpm):
+1. copy attached files global.asax, index.aspx to empty directory
+2. start xsp in this directory
+3. request localhost:8080 in browswer
+Actual Results:
+Parser Error, "Type System.Text.StringBuilder not found." (see attached
+error page)
+Expected Results:
+page showing
+ Application: Hello
+ Session: Hello
+How often does this happen? 
+Additional Information:
+- error happens with both mono 0.30.1 and 0.30.2 (installed from rpm)
+- doesn't seem happen with mono from cvs (even when using older versions
+than when 0.30.2 was released)
+- when using the precompiled "System.Web.dll" from the latest snapshot
+(25th feb), an old bug shows up: "The name `myApplication.Append' could not
+be found in `ASP.global_asax'", i.e. the <object ..> properties are not
+generated for "global_asax"!
+on RH 9, Mono 0.30.2 installed from rpm:
+As the attached trace ("mono --trace=T:System.Web.UI.TemplateParser
+/usr/bin/xsp.exe >trace.txt") shows at the end,
+System.Web.UI.TemplateParser.LoadType called with
+"System.Text.StringBuilder" returns null!