System.IndexOutOfRangeException thrown at
FirebirdSql.Data.FirebirdClient.FbConnection.Open()
---------------------------------------------------------------------------------------------
Key: DNET-367
URL: http://tracker.firebirdsql.org/browse/DNET-367
Project: .NET Data provider
Issue Type: Bug
Components: ADO.NET Provider
Affects Versions: 2.6
Environment: Win 7 x64 (in VMWare), Firebird 2.5.0, FB ADO.NET
Provider 2.6, .NET 4.0, VS 2010, DDEX 2.0.5
Reporter: Sebastian Gingter
Assignee: Jiri Cincura
Priority: Blocker
Same as DNET-330 (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.
--
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
------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk
Collect, index and harness all the fast moving IT data generated by your
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights.
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider