Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.IndexOutOfRangeException thrown at FirebirdSql.Data.FirebirdClient.FbConnection.Open() [DNET330] #341

Closed
firebird-automations opened this issue Jul 12, 2010 · 3 comments

Comments

@firebird-automations
Copy link

Submitted by: Jan Rucka (jan.rucka)

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

Commits: b414750

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Yes, I can simulate it, but only on clean system. :) I'll debug it later this/next week.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.5.3 [ 10380 ]

@firebird-automations
Copy link
Author

Modified by: @cincuranet

Fix Version: 2.6 [ 10371 ]

Fix Version: 2.5.3 [ 10380 ] =>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants