[Mono-osx] IDataReader-->System.ArgumentOutOfRangeException

kangaroo grompf at sublimeintervention.com
Wed Jun 1 10:40:12 EDT 2005


Andreas,

     Please make a small testcase and file a bug

-kangaroo

On 1-Jun-05, at 3:09 AM, Andreas Stein wrote:

> Hi all!
>
> I already posted this thread a few weeks before but unfortunately I  
> got no response. So I start another attempt.
>
> Problem:
> I build a ListView and fill this ListView with records from a MySQL- 
> DB via OdbcConnection(). With Mono-1.1.6-4 this works fine until I  
> upgrade to Mono-1.1.7  Now, I always get this Exception:
>
> 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 <0x00d00> 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 ()
>
>
> Please help me!
>
>
> Andreas
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
>
> !DSPAM:429d5ec5175991293342295!
>
>



More information about the Mono-osx mailing list