[Mono-bugs] [Bug 49835][Nor] New - String values of length 255 (0xFF) are misinterpreted when running against MS SQL 2000

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 19 Oct 2003 05:13:05 -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 joergr@voelcker.com.

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

--- shadow/49835	2003-10-19 05:13:04.000000000 -0400
+++ shadow/49835.tmp.20579	2003-10-19 05:13:04.000000000 -0400
@@ -0,0 +1,40 @@
+Bug#: 49835
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Suse 8.2
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System.Data.SqlClient
+AssignedTo: rodrigo@ximian.com                            
+ReportedBy: JoergR@voelcker.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: String values of length 255 (0xFF) are misinterpreted when running against MS SQL 2000
+
+Description of Problem:
+We are running MS SQL Server 2000 as database engine. If there is a string
+value with length 255 the TDS protocol interpreter interprets this as
+special value. All subsequent data reads are misbehaving or handing.
+
+Steps to reproduce the problem:
+1. Set a correct connection string in the attached sample
+2. Compile
+3. Run
+
+Actual Results:
+The string received is null.
+
+Expected Results:
+The string retreived is
+'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'.
+It is 255 characters long.
+
+How often does this happen? 
+Always.
+
+Additional Information: