I
filed this as a bug as well.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of McKenzie, Ben
Sent: Monday, September 11, 2006 10:04 AM
To: [email protected]
Subject: [Firebird-net-provider] firebird 2.0 and ADO.NET ProviderHello all...I hope that I am sending this to the correct list.When trying to connect to firebird 2.0 RC4 Embedded mode and the .NET provider 1.7, I get the following exception:StackTrace " at FirebirdSql.Data.Common.IscHelper.VaxInteger(Byte[] buffer, Int32 index, Int32 length)\r\n at FirebirdSql.Data.Common.IscHelper.ParseDatabaseInfo(Byte[] buffer)\r\n at FirebirdSql.Data.Embedded.FesDatabase.GetDatabaseInfo(Byte[] items, Int32 bufferLength)\r\n at FirebirdSql.Data.Embedded.FesDatabase.GetServerVersion()\r\n at FirebirdSql.Data.Embedded.FesDatabase.Attach(DatabaseParameterBuffer dpb, String dataSource, Int32 port, String database)\r\n at FirebirdSql.Data.Firebird.FbConnectionInternal.Connect()\r\n at FirebirdSql.Data.Firebird.FbConnectionPool.Create()\r\n at FirebirdSql.Data.Firebird.FbConnectionPool.CheckOut()\r\n at FirebirdSql.Data.Firebird.FbConnection.Open()\r\nI was using the same connection string with 1.5.3 and was able to connect no problem.I am able to use CreateDatabase and connect to the database with FlameRobin, but not with the ADO.NET library.A requirement of the application is to use the .NET 1.1 framework. Is there any way that I can use Firebird 2.0 with the ADO.NET library and .NET 1.1?The connection string is being built with ConnectionStringBuilder and is very short (is there something missing?)FbConnectionStringBuilder csb =
new FbConnectionStringBuilder();csb.Database = UserPreference.GetInstance().CacheDbFolder+@"\"+tableFileName;
csb.ServerType = 1;
// embedded Firebird
Ben McKenzie Senior Software EngineerHighline Data LLC. - Banking Data Services Division Office : (512) 314-7244 Fax : (512) 314-7222[EMAIL PROTECTED] http://www.highlinedata.com
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Firebird-net-provider mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
