"Specified server type is not correct" when attempting to use the embedded server
I am trying to use the embedded server on Windows 7 with visual studio 2005 (not ddex).
Using
> FirebirdSql.Data.FirebirdClient.dll version 2.5.2.0.
> fbembed.dll version 2.5.0.26074
My connection string is:-
> ServerType=1;ClientLibrary=C:\Firebird\fbembed.dll;User=SYSDBA;Password=masterkey;
database=C:\Firebird\EMPLOYEE.FDB;Dialect=3;Pooling=false;
I have copied the entire contents of the zip file Firebird-2.5.0.26074-0_Win32_embed.zip to my application directory.
I also copied fbembed.dll and renamed it to gds32.dll and fbclient.dll as has been suggested elsewhere.
I get the "Specified server type is not correct" message and a stack trace as below.
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()
I have checked that there are no security restrictions on the application directory or database file.
I have successfully installed and run with the non-embedded server version accessing the same database file.
Appreciate any pointers on this.
Regards
Nigel
------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@... https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
RSS Feed