[Mono-bugs] [Bug 61832][Wis] New - Error runnig .aspx page

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 22 Jul 2004 11:23:43 -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 beniniva@csr.unibo.it.


--- shadow/61832	2004-07-22 11:23:43.000000000 -0400
+++ shadow/61832.tmp.5687	2004-07-22 11:23:43.000000000 -0400
@@ -0,0 +1,69 @@
+Bug#: 61832
+Product: Mono: Class Libraries
+Version: unspecified
+OS Details: Fedora Core 2
+Status: NEW   
+Priority: Wishlist
+Component: Sys.Data
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: beniniva@csr.unibo.it               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Error runnig .aspx page
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Through an odbc connection to a mysql database (containing login,password
+and business role of some users) it controls if the string inserted as
+"login",in the text box of the web application, is corrected.
+If it is wrong the label shows an error message, else shows the user
+business role.
+Steps to reproduce the problem:
+Actual Results:
+If the inserted login is wrong, the program works well, the label shows an
+error message.
+If the inserted login is correct, the server gives this error:
+Description: Error processing request.
+Error Message: HTTP 500.
+Stack Trace:
+System.IndexOutOfRangeException: Array index is out of range.
+in <0x000d5> System.Data.Odbc.OdbcDataReader:GetValue (int)
+in <0x0005d> (wrapper remoting-invoke-with-check)
+System.Data.Odbc.OdbcDataReader:GetValue (int)
+in <0x00012> System.Data.Odbc.OdbcDataReader:get_Item (int)
+in <0x0005d> (wrapper remoting-invoke-with-check)
+System.Data.Odbc.OdbcDataReader:get_Item (int)
+in <0x0016d> dbReaderASP.WebForm1:Button1_Click (object,System.EventArgs)
+in <0x0006a> (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+in <0x00090> System.Web.UI.WebControls.Button:OnClick (System.EventArgs)
+in <0x00058>
+in <0x00016> System.Web.UI.Page:RaisePostBackEvent
+in <0x0003a> System.Web.UI.Page:RaisePostBackEvents ()
+in <0x002ab> System.Web.UI.Page:InternalProcessRequest ()
+in <0x000c2> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
+in <0x002e8> ExecuteHandlerState:Execute ()
+in <0x00084> StateMachine:ExecuteState
+Expected Results:
+If the login is correct the label must shows user business role.