zedalaye / fbclone

A wonderful tool to take care of your Firebird databases
33 stars 19 forks source link

fbclient.dll not found #15

Open antonpetrov145 opened 3 years ago

antonpetrov145 commented 3 years ago

Hello, I'm having trouble with starting the tool to clone one database. After start it says that fbclient.dll is not found. I did install fbclient.dll in my system32 folder with the firebird tools but I get the same issue. OS is Windows 10 Pro 64bit, firebird server is 2.5 64bit Can you help?

Thanks

PizzaProgram commented 3 years ago

I did not use this app, wrote my own "cloner", but collected some experience, so maybe I can help.

  1. Did you compile this console app to 64 bit too? If not, it won't "find" the 64bit dll. (You can uninstall FB and install the 32bit FB version.)

  2. Did you enable the right version at UIB source?
    Actually the dll isn't necessary to be in the system dir. It caused sometimes trouble.

  3. Are you cloning locally? Usually it's better to make a fake-local-network string for connection: localhost:E:\myDB.fdb because Win10 may interfere. That trick skips the firewall problems.

zedalaye commented 3 years ago

How do you install Firebird ? It is expected to use the instreg.exe utility provided witrh Firebird to define the "RootDirectory" key in the system Registry.

zedalaye commented 3 years ago

And for sure, fbclone 32bit won't be able to use the 64bit version of fbclient.dll, thank you, @PizzaProgram, for having spotted this point.

antonpetrov145 commented 3 years ago

I did not use this app, wrote my own "cloner", but collected some experience, so maybe I can help.

1. Did you compile this console app to 64 bit too?
   If not, it won't "find" the 64bit dll. (You can uninstall FB and install the 32bit FB version.)

2. Did you enable the right version at UIB source?
   Actually the dll isn't necessary to be in the system dir. It caused sometimes trouble.

3. Are you cloning locally?
   Usually it's better to make a fake-local-network string for connection:
   `localhost:E:\myDB.fdb` because Win10 may interfere. That trick skips the firewall problems.
  1. Didn't compile, just downloaded the already compiled program. Will try to compile it though.
  2. Don't know how to do that.
  3. Yes I'm cloning locally, but will try with localhost:
antonpetrov145 commented 3 years ago

How do you install Firebird ? It is expected to use the instreg.exe utility provided witrh Firebird to define the "RootDirectory" key in the system Registry.

Installed it with the tutorial on the firebird site. Will run instreg.exe.