Running on Windows 7 using Visual Studio 2005, I am attempting to use the embedded firebird server. Having followed installation details provided, I get the message:-
Specified server type is not correct.
I am using:-
FirebirdSql.Data.FirebirdClient.dll version 2.5.2.0.
fbembed.dll version 2.5.0.26074
I copied the entire contents of the zip file Firebird-2.5.0.26074-0_Win32_embed.zip to my application directory, as there seem to be a variety of ideas as to what should be there.
I also copied fbembed.dll and renamed it to gds32.dll and fbclient.dll as has been suggested elsewhere.
My connection string is:-
User=SYSDBA;Password=masterkey;database=C:\Database\EMPLOYEE.FDB;servertype=1; Dialect=3;";
All users have full control on the database file.
I have a firebird server running on the same machine, I ensured the service was stopped to avoid any confusion.
The stack trace at the failure shows:-
at FirebirdSql.Data.FirebirdClient.ClientFactory.CreateDatabase(FbConnectionString options) at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect() at FirebirdSql.Data.FirebirdClient.FbConnectionPool.Create() at FirebirdSql.Data.FirebirdClient.FbConnectionPool.CheckOut() at FirebirdSql.Data.FirebirdClient.FbConnection.Open()
Appreciate any ideas.