Hi Daniel, > Could you try: > FbConnection conn = new FbConnection("data source=127.0.0.1;User > id=SYSDBA;Password=masterkey;Initial > Catalog=C:\Users\smartBugs\Documents\PCTRADE.gdb"); > > I usually write this way: > FbConnection conn = new FbConnection(); > conn.ConnectionString = "data source=127.0.0.1;User > id=SYSDBA;Password=masterkey;Initial > Catalog=C:\Users\smartBugs\Documents\PCTRADE.gdb";
I tried both, but no change. The exception still comes up. Here's the stack trace: 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 Regards, Sebastian -- View this message in context: http://firebird.1100200.n4.nabble.com/Urgent-Create-Connection-in-VS2010-tp3318137p3318213.html Sent from the firebird-net-provider mailing list archive at Nabble.com. ------------------------------------------------------------------------------ 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 Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider