[Mono-bugs] [Bug 335329] New: ODBC: Failure decoding string from SQL Server
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Oct 19 14:11:32 EDT 2007
https://bugzilla.novell.com/show_bug.cgi?id=335329
Summary: ODBC: Failure decoding string from SQL Server
Product: Mono: Class Libraries
Version: 1.2
Platform: All
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Data
AssignedTo: vvaradhan at novell.com
ReportedBy: gert.driesen at pandora.be
QAContact: mono-bugs at ximian.com
Found By: ---
Executing a SQL statement that returns string data SQL Server 2005 using the
ODBC provider and reading it (using, for example, an OdbcDataReader) result in
garbled output and a runtime error.
To reproduce:
1. modify the values in CreateOdbcConnectionString to match your local setup.
2. compile and run the code snippet.
Expected result:
The following (or similar) output is written to the console:
Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86)
Oct 14 2005 00:33:37
Copyright (c) 1988-2005 Microsoft Corporation
Developer Edition on Windows NT 5.1 (Build 2600: Service Pack 2)
textsize
language
dateformat
datefirst
lock_timeout
quoted_identifier
ansi_null_dflt_on
ansi_warnings
ansi_padding
ansi_nulls
concat_null_yields_null
isolation level
Actual result:
????4???????`??????????????????????????????4??????`????4??????????????????????????????>????????
????
????
?????
????
??????
????????
????????
??????
??????
?????
???????????
???????
Stacktrace:
at (wrapper managed-to-native) System.Data.Odbc.libodbc.SQLFreeStmt
(intptr,System.Data.Odbc.libodbc/SQLFreeStmtOptions) <0x00004>
at (wrapper managed-to-native) System.Data.Odbc.libodbc.SQLFreeStmt
(intptr,System.Data.Odbc.libodbc/SQLFreeStmtOptions) <0xffffffff>
at System.Data.Odbc.OdbcCommand.FreeStatement () <0x0001f>
at System.Data.Odbc.OdbcCommand.Dispose (bool) <0x00014>
at System.ComponentModel.Component.Finalize () <0x00010>
at (wrapper runtime-invoke)
System.ComponentModel.MarshalByValueComponent.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list