Fail to access FB embed database with .net app

161 views
Skip to first unread message

Markus Schäffer

unread,
Feb 7, 2022, 4:14:31 AM2/7/22
to firebird-net-provider
Hi all!
I used Firebird-2.5.9.27139-0_Win32_embed containing fbembed.dll with Flamerobin to create, browse Firebird databases. 
Now I try to connect via .net 32 bit app to access the database with FirebirdSql.Data.FirebirdClient.dll  and the same fbembed.dll and fail!
I tried several versions of FirebirdSql.Data.FirebirdClient.dll via Nuget but all fail even to to recognize the fbembed.dll 2.5.9.
I currently use .net Framework 4.6.1, which version of the  FirebirdSql.Data.FirebirdClient.dll should I use? Can you help please?

Jiří Činčura

unread,
Feb 7, 2022, 4:16:15 AM2/7/22
to 'Mr. John' via firebird-net-provider
> I used Firebird-2.5.9.27139-0_Win32_embed containing fbembed.dll with
> Flamerobin to create, browse Firebird databases.
> Now I try to connect via .net 32 bit app to access the database with
> FirebirdSql.Data.FirebirdClient.dll and the same fbembed.dll and fail!

What does "fail" mean?

> I tried several versions of FirebirdSql.Data.FirebirdClient.dll via
> Nuget but all fail even to to recognize the fbembed.dll 2.5.9.
> I currently use .net Framework 4.6.1, which version of the
> FirebirdSql.Data.FirebirdClient.dll should I use? Can you help please?

https://www.nuget.org/packages/FirebirdSql.Data.FirebirdClient/7.10.1

--
Mgr. Jiří Činčura
https://www.tabsoverspaces.com/

Markus Schäffer

unread,
Feb 7, 2022, 4:30:20 AM2/7/22
to firebird-net-provider
"Fail" means that - as I wrote - the app does not find the fbembed:
"{"The DLL \"fbembed\": The specified module could not be found. (Exception from HRESULT: 0x8007007E) cannot be loaded."}"

When I try the link install 7.10.1 I get the following error:
Install-Package : The "FirebirdSql.Data.FirebirdClient 7.10.1" package requires the
NuGet client version "3.6.0" or later. However, the current NuGet version is
"3.5.0-beta2-1484".

Is it really necessary to upgrade Nuget the get this running...?!?

Jiří Činčura

unread,
Feb 7, 2022, 4:40:53 AM2/7/22
to 'Mr. John' via firebird-net-provider
> "Fail" means that - as I wrote - the app does not find the fbembed:
> *"{"The DLL \"fbembed\": The specified module could not be found.
> (Exception from HRESULT: 0x8007007E) cannot be loaded."}"*

So you know what's wrong.

> When I try the link install 7.10.1 I get the following error:
> *Install-Package : The "FirebirdSql.Data.FirebirdClient 7.10.1" package
> requires the
> NuGet client version "3.6.0" or later. However, the current NuGet
> version is
> "3.5.0-beta2-1484".*
> *
> *
> Is it really necessary to upgrade Nuget the get this running...?!?

Yes.

Markus Schäffer

unread,
Feb 7, 2022, 4:54:18 AM2/7/22
to firebird-net-provider



...

So you know what's wrong.
No, I don`t the dll is physically there...
...

> Is it really necessary to upgrade Nuget the get this running...?!?

Yes.
Problem is I use VS 2015, is it possible anyway...?!?


Thx! 

Markus Schäffer

unread,
Feb 7, 2022, 5:11:07 AM2/7/22
to firebird-net-provider
Ok, I got the FB dll in Version 7.10.0 now, I refered in my 32 bit project to this dll, but still have the same error on opening the database, that the fbembed.dll 2.5.9, also 32 bit, is not found though it is definitly in the debug folder!

Gerdus van Zyl

unread,
Feb 7, 2022, 5:16:54 AM2/7/22
to firebird-n...@googlegroups.com
Have you also put all the files and folders from the zip file into debug folder like icudt30.dll,etc?

--
You received this message because you are subscribed to the Google Groups "firebird-net-provider" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-net-pro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebird-net-provider/b6ab020e-64f1-4175-8e99-21c643a7bc97n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages