[Mono-bugs] [Bug 77815][Nor] New - xsp2 unable to find src files from the <%@ Page %> directive

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Mar 17 11:16:14 EST 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 jackbravo at gmail.com.


--- shadow/77815	2006-03-17 11:16:14.000000000 -0500
+++ shadow/77815.tmp.29853	2006-03-17 11:16:14.000000000 -0500
@@ -0,0 +1,68 @@
+Bug#: 77815
+Product: Mono: Tools
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: XSP
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: jackbravo at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: xsp2 unable to find src files from the <%@ Page %> directive
+Description of Problem: xsp2 is unable to find src files (from codeBehind
+classes) specified on the <%@ Page %> directive while xsp does.
+I'm using version of mono and xsp2.exe
+I tried it on Gentoo Linux and on Windows XP and the results are the same.
+This does work on Windows IIS and with normal xsp
+Steps to reproduce the problem:
+1. run an .aspx file with a Page directive like this: 
+   <%@ Page inherits="aspnetian.Login" src="Login.cs" %>
+2. with a .cs file like this:
+   using System.Web.UI;
+   namespace aspnetian {
+      public class Login : Page
+      { ...
+3. Expect it to work like when using xsp.exe =P
+Actual Results:
+Parser Error
+Description: Error parsing a resource required to service this request.
+Review your source file and modify it to fix this error.
+Error message: Cannot find type aspnetian.Login
+File name: /mnt/shared/src/Learning1/Login.aspx    Line: 1
+Source Error:
+<%@ Page inherits="aspnetian.Login" src="Login.cs" %>
+	<head>
+		<title>Login</title>
+Expected Results:
+How often does this happen? Always
+Additional Information:
+This is the first bug I submit here.... hope I'm really helping and not
+making a mistake somewhere.

More information about the mono-bugs mailing list