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() [DNET367] #372

Closed
firebird-automations opened this issue Feb 22, 2011 · 4 comments

Comments

@firebird-automations
Copy link

Submitted by: Sebastian Gingter (phoenix)

Same as DNET330 (which is stated as fixed, but isn't).

Firebird itself runs fine (I can connect to the database using IBExpert).
This small sample code here totally fails though:

                    try 
                    \{ 
                            FbConnection conn = new FbConnection\(@"Server=127\.0\.0\.1;User=SYSDBA;Password=masterkey;Database=C:\\Users\\smartBugs\\Documents\\PCTRADE\.gdb"\); 
                            conn\.Open\(\); 
                    \} 
                    catch \(Exception ex\) 
                    \{ 
                            this\.Text = ex\.Message; 
                    \} 

Error is IndexOutOfRange exception:

StackTrace " at System.Collections.ArrayList.get_Item(Int32 index)
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()
at DBConnectionTest.Form1.Form1_Load(Object sender, EventArgs e) in C:\\Users\\smartBugs\\Documents\\Visual Studio 2010\\Projects\\TheEntityLibrary\\DBConnectionTest\\Form1.cs:line 25" string

I need this connection to create a Entity Model and need to demonstrate this to a customer in 2 days. So please help fast.

@firebird-automations
Copy link
Author

Commented by: @cincuranet

It's not same as DNET330. Upload somewhere the VM, I'll look at it.

@firebird-automations
Copy link
Author

Commented by: Sebastian Gingter (phoenix)

Sorry. The VM is too big to upload it somewhere (53GB), and than I would need to spend most of the day cleaning it up (pretty much things on it that are sensitive).

Can I support with any further information I can retrieve from my system?

Could it be that this is an x64 thing? But then again the default setting for .NET 4.0 applications is to restrict themselves to x86 (and changing that didn't matter).

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Until I have a test case to reproduce, I can't fix the bug, because I don't know what's the cause.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Closed [ 6 ]

resolution: Cannot Reproduce [ 5 ]

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