[Mono-bugs] [Bug 60827][Nor] New - Problem connecting to Sybase 12.5 with SybaseClient

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 28 Jun 2004 10:30:01 -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 sebastien.robitaille@croesus.com.

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

--- shadow/60827	2004-06-28 10:30:01.000000000 -0400
+++ shadow/60827.tmp.15397	2004-06-28 10:30:01.000000000 -0400
@@ -0,0 +1,54 @@
+Bug#: 60827
+Product: Mono: Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Data
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: sebastien.robitaille@croesus.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Problem connecting to Sybase 12.5 with SybaseClient
+
+Description of Problem:
+This problem is a regression in Release Candidate 1.
+Connecting to Sybase 12.5 with SybaseClient generates the following 
+exception:
+
+IndexOutOfRangeException: Array index is out of range.
+in <0x0000e> Mono.Data.Tds.Protocol.TdsComm:Store (int,byte)
+in <0x0004a> Mono.Data.Tds.Protocol.TdsComm:Append (byte)
+in <0x00038> Mono.Data.Tds.Protocol.TdsComm:Append (byte[],int,byte)
+in <0x0005e> Mono.Data.Tds.Protocol.TdsComm:Append (string,int,byte)
+in <0x0016f> Mono.Data.Tds.Protocol.Tds50:Connect 
+(Mono.Data.Tds.Protocol.TdsConnectionParameters)
+in <0x003af> Mono.Data.SybaseClient.SybaseConnection:Open ()
+
+
+With mono Beta 3, the connection opens correctly and this exception is 
+not thrown.
+
+Steps to reproduce the problem:
+1. Execute the following code:
+
+IDbConnection connection = new SybaseConnection(connectionString);
+connection.Open();
+
+Actual Results:
+Exception thrown.
+
+Expected Results:
+Connection open.
+
+How often does this happen? 
+Always
+
+Additional Information:
+
+This bug doesn't seem to be related to 60320