System.IndexOutOfRangeException thrown at 
FirebirdSql.Data.FirebirdClient.FbConnection.Open()
---------------------------------------------------------------------------------------------

                 Key: DNET-330
                 URL: http://tracker.firebirdsql.org/browse/DNET-330
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 2.5.2
         Environment: Clean Win XP SP3,
.NET FW 2.0 SP2, 3.0 SP2, 3.5 SP1
No MS Office nor other app's
FB server 2.5.0.25920 running as service.

            Reporter: Jan Rucka
            Assignee: Jiri Cincura


Hello Jiri, 

when trying to open database we got the exception:



Index was outside the bounds of the array.   System.IndexOutOfRangeException   
   at FirebirdSql.Data.Common.IscHelper.VaxInteger(Byte[] buffer, Int32 index, 
Int32 length)
   at FirebirdSql.Data.Common.IscHelper.ParseDatabaseInfo(Byte[] buffer)
   at 
FirebirdSql.Data.Client.Managed.Version10.GdsDatabase.GetDatabaseInfo(Byte[] 
items, Int32 bufferLength)
   at FirebirdSql.Data.Client.Managed.Version10.GdsDatabase.GetServerVersion()
   at 
FirebirdSql.Data.Client.Managed.Version10.GdsDatabase.Attach(DatabaseParameterBuffer
 dpb, String dataSource, Int32 port, String database)
   at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect()
   at FirebirdSql.Data.FirebirdClient.FbConnectionPool.Create()
   at FirebirdSql.Data.FirebirdClient.FbConnectionPool.CheckOut()
   at FirebirdSql.Data.FirebirdClient.FbConnection.Open()


the connection string is:
Server=localhost;User=SYSDBA;Password=masterkey;Database=C:\k3ksystem.GDB



Kind Regards

Jan Rucka

Kros a.s.
Zilina
Slovakia

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to