[Mono-bugs] [Bug 81344][Nor] Changed - LoginView.FindControl does not find control in LoggedInTemplate

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Apr 11 00:39:02 EDT 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 mmorano at mikeandwan.us.

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

--- shadow/81344	2007-04-11 00:27:07.000000000 -0400
+++ shadow/81344.tmp.19837	2007-04-11 00:39:02.000000000 -0400
@@ -49,6 +49,62 @@
 attach a test case that fails? Thanks
 
 ------- Additional Comments From mmorano at mikeandwan.us  2007-04-11 00:27 -------
 Created an attachment (id=19028)
 test case - access loginview.aspx
 
+
+------- Additional Comments From mmorano at mikeandwan.us  2007-04-11 00:39 -------
+Hi Marek,
+
+I did a fresh pull from svn today so everything is up to date, and
+still seem to have this issue.
+
+The attached causes an error on my mono instance, but works
+successfully on ms.  It uses a custom membership provider defined in
+app_code as MemProvider.  To authenticate, use any value so the
+username equals the password (i.e:  user="joe" pass="joe").  This
+might require #81307, as I believe that corrects behavior for custom
+providers in app_code.  You should access the loginview.aspx page to
+access the test case.
+
+Anyways, the code does not work on my mono setup, yet does work
+properly on my ms box.  The following is the full error from this test
+case:
+
+Server Error in '/' Application
+
+Description: Error processing request.
+
+Error Message: HTTP 500.
+
+Stack Trace:
+
+System.NullReferenceException: Object reference not set to an instance
+of an object
+  at loginview.Page_PreRender (System.Object sender, System.EventArgs
+e) [0x00000] 
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs
+(object,System.EventArgs)
+  at System.Web.UI.Control.OnPreRender (System.EventArgs e) [0x00000] 
+  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] 
+  at System.Web.UI.Page.InternalProcessRequest () [0x00000] 
+  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext
+context) [0x00000] 
+
+4/11/2007 2:33:17 AM<!-- System.Web.HttpException: --->
+System.NullReferenceException: Object reference not set to an instance
+of an object at loginview.Page_PreRender (System.Object sender,
+System.EventArgs e) [0x00000] at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs
+(object,System.EventArgs) at System.Web.UI.Control.OnPreRender
+(System.EventArgs e) [0x00000] at
+System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] at
+System.Web.UI.Page.InternalProcessRequest () [0x00000] at
+System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
+[0x00000] --- End of inner exception stack trace --- --> 
+
+Let me know if this repros for you.
+
+Thanks again for all your help,
+Mike


More information about the mono-bugs mailing list