[Mono-bugs] [Bug 49350][Nor] New - error loading an assembly in a subdir of one web application

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 5 Oct 2003 13:57:17 -0400 (EDT)


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 yoros@wanadoo.es.

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

--- shadow/49350	2003-10-05 13:57:17.000000000 -0400
+++ shadow/49350.tmp.21333	2003-10-05 13:57:17.000000000 -0400
@@ -0,0 +1,37 @@
+Bug#: 49350
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: yoros@wanadoo.es               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: error loading an assembly in a subdir of one web application
+
+When any ASP.NET page tries to load an assembly (via Register, for example)
+it breaks if the assembly is not in the same directory that the server is
+running (or in one directory included in MONO_PATH).
+
+The previous error is produced because when the assembly is loaded it tries
+to load it without adding local path (path where the page file is).
+
+To produce the error:
+- Create a subdir in xsp running dir
+- Copy, for example, codebehind1.* or tabcontrol.* to that subdir
+- Run "xsp.exe --applications /:." in "xsp running dir"
+- Try to get http://localhost:8080/subdir/tabcontrol.aspx
+          It fails
+- Move the files to "xsp running dir"
+- Try to get http://localhost:8080/tabcontrol.aspx
+          It works
+
+NOTE:
+You can get XSP from mono cvs. It has the files I talked about.