[Mono-osx] ODBC MySQL: Unhandled Exception:
System.ArgumentOutOfRangeException: ArgRange_Array
Andreas Stein
andi.stein at gmx.net
Wed May 18 06:09:21 EDT 2005
Hi all!
After upgrading to mono-1.1.7 I cannot connect my mysql database via
odbc. I get this error:
Mono System.Windows.Forms Assembly [Revision: 41731; built: 2005/2/15
5:56:12]
2005-05-18 12:06:28.565 mono[852] CFLog (0): WARNING:
CFSTR("l\303\266schen") has non-7 bit chars, interpreting using MacOS
Roman encoding for now, but this will change. Please eliminate usages
of non-7 bit chars (including escaped characters above \177 octal) in
CFSTR().
Unhandled Exception: System.ArgumentOutOfRangeException: ArgRange_Array
Parameter name: count
in <0x00170> System.Text.ASCIIEncoding:GetString (System.Byte[] bytes,
Int32 index, Int32 count)
in <0x00100> System.Data.Odbc.OdbcDataReader:GetColumnAttributeStr
(Int32 column, FieldIdentifier fieldId)
in (wrapper remoting-invoke-with-check)
System.Data.Odbc.OdbcDataReader:GetColumnAttributeStr
(int,System.Data.Odbc.FieldIdentifier)
in <0x001a0> System.Data.Odbc.OdbcDataReader:GetPrimaryKeys ()
in (wrapper remoting-invoke-with-check)
System.Data.Odbc.OdbcDataReader:GetPrimaryKeys ()
in <0x0008c> System.Data.Odbc.OdbcDataReader:GetSchemaTable ()
in (wrapper remoting-invoke-with-check)
System.Data.Odbc.OdbcDataReader:GetSchemaTable ()
in <0x000d8> System.Data.Odbc.OdbcDataReader:.ctor
(System.Data.Odbc.OdbcCommand command, CommandBehavior behavior)
in (wrapper remoting-invoke-with-check)
System.Data.Odbc.OdbcDataReader:.ctor
(System.Data.Odbc.OdbcCommand,System.Data.CommandBehavior)
in <0x00064> System.Data.Odbc.OdbcCommand:ExecuteReader
(CommandBehavior behavior)
in (wrapper remoting-invoke-with-check)
System.Data.Odbc.OdbcCommand:ExecuteReader
(System.Data.CommandBehavior)
in <0x00020> System.Data.Odbc.OdbcCommand:ExecuteReader ()
in (wrapper remoting-invoke-with-check)
System.Data.Odbc.OdbcCommand:ExecuteReader ()
in <0x0001c>
System.Data.Odbc.OdbcCommand:System.Data.IDbCommand.ExecuteReader ()
in <0x00b78> myBariPro.PersonList:InitializeComponents ()
in (wrapper remoting-invoke-with-check)
myBariPro.PersonList:InitializeComponents ()
in <0x000f0> myBariPro.PersonList:.ctor ()
in (wrapper remoting-invoke-with-check) myBariPro.PersonList:.ctor ()
in <0x0002c> myBariPro.PersonList:Main ()
My odbc-driver works fine with odbctest.
Any ideas?
Greets
Andreas
More information about the Mono-osx
mailing list