Can not load DB-Lib client library "dblib.dll"

Post Reply
thenetstriker
Posts: 58
Joined: 05 Jul 10 19:24

Can not load DB-Lib client library "dblib.dll"

Post by thenetstriker » 23 May 18 16:12

I've just installed the latest version of Photosupreme for SQL Server on a computer for the first time and now I get the error when trying to conntect to my database. Any ideas what could be the Problem? (I found the dblib.dll in the installation directory)

Hert
Posts: 21143
Joined: 13 Sep 03 7:24

Re: Can not load DB-Lib client library "dblib.dll"

Post by Hert » 23 May 18 20:01

I just tested the installation set on a clean Windows and all works fine. Could it be that you installed the 64 bit version on a 32 bit OS?
This is a User-to-User forum which means that users post questions here for other users.
Feature requests, change suggestions, or bugs can be logged in the ticketing system

thenetstriker
Posts: 58
Joined: 05 Jul 10 19:24

Re: Can not load DB-Lib client library "dblib.dll"

Post by thenetstriker » 24 May 18 17:52

Hert wrote:
23 May 18 20:01
I just tested the installation set on a clean Windows and all works fine. Could it be that you installed the 64 bit version on a 32 bit OS?
Hi Hert, yes it is an Windows 10 Pro x64 System. It also has the two program files Folders for x86 and x64 and Photosupreme was installend in the x64 folder. Any other ideas?

Hert
Posts: 21143
Joined: 13 Sep 03 7:24

Re: Can not load DB-Lib client library "dblib.dll"

Post by Hert » 24 May 18 17:58

Is dblib.dll in the installation folder? That is the folder that also holds idimagersu.exe

If so, have you tried to redownload and install again?

If so, what is your SQLServer version?
This is a User-to-User forum which means that users post questions here for other users.
Feature requests, change suggestions, or bugs can be logged in the ticketing system

thenetstriker
Posts: 58
Joined: 05 Jul 10 19:24

Re: Can not load DB-Lib client library "dblib.dll"

Post by thenetstriker » 24 May 18 19:54

Hert wrote:
24 May 18 17:58
Is dblib.dll in the installation folder? That is the folder that also holds idimagersu.exe

If so, have you tried to redownload and install again?

If so, what is your SQLServer version?
I've just completely redownloaded and reinstalled the application, but the error still shows. As I wrote in the first message the dll is present in the installation directory. I think the SQL Version does not matter because I can connect from another Windows 10 PC without any problems to the same database. Any other ideas?

Hert
Posts: 21143
Joined: 13 Sep 03 7:24

Re: Can not load DB-Lib client library "dblib.dll"

Post by Hert » 24 May 18 20:32

Maybe a virus scanner?
This is a User-to-User forum which means that users post questions here for other users.
Feature requests, change suggestions, or bugs can be logged in the ticketing system

thenetstriker
Posts: 58
Joined: 05 Jul 10 19:24

Re: Can not load DB-Lib client library "dblib.dll"

Post by thenetstriker » 25 May 18 9:29

Hert wrote:
24 May 18 20:32
Maybe a virus scanner?
I already tried to disable the virus scanner and then run the application, but the error still occurs. I also compared the file size and the content of the dll from the computer where the program is working with the one where it isn't and there are no differences. Are there maybe any other software requirements that are not met on this pc?

Hert
Posts: 21143
Joined: 13 Sep 03 7:24

Re: Can not load DB-Lib client library "dblib.dll"

Post by Hert » 25 May 18 19:13

For the dblib.dll to load you also need the libiconv.dll
Both are installed with PSU in the installation folder.
This is a User-to-User forum which means that users post questions here for other users.
Feature requests, change suggestions, or bugs can be logged in the ticketing system

thenetstriker
Posts: 58
Joined: 05 Jul 10 19:24

Re: Can not load DB-Lib client library "dblib.dll"

Post by thenetstriker » 28 May 18 9:02

Hert wrote:
25 May 18 19:13
For the dblib.dll to load you also need the libiconv.dll
Both are installed with PSU in the installation folder.
The libiconv.dll file is also in the folder. Any other ideas?

Hert
Posts: 21143
Joined: 13 Sep 03 7:24

Re: Can not load DB-Lib client library "dblib.dll"

Post by Hert » 28 May 18 9:19

User rights?

One thing is sure: something is preventing/blocking PSU from accessing and attaching the required DLLs.
This is a User-to-User forum which means that users post questions here for other users.
Feature requests, change suggestions, or bugs can be logged in the ticketing system

thenetstriker
Posts: 58
Joined: 05 Jul 10 19:24

Re: Can not load DB-Lib client library "dblib.dll"

Post by thenetstriker » 31 May 18 14:16

Hert wrote:
28 May 18 9:19
User rights?

One thing is sure: something is preventing/blocking PSU from accessing and attaching the required DLLs.
I now found out what is causing this problem. I've monitored what the application tries to load on startup with the Process Monitor from Sysinternals. I found out that the dblib.dll tries to load the msvcr100.dll. On one of my computers this file is in the Windows System32 folder, but on the other computer this file was missing. I just copied the file from one computer to the other and now everything seams to work now. But I have no idea why this file is missing on one computer.

Hert
Posts: 21143
Joined: 13 Sep 03 7:24

Re: Can not load DB-Lib client library "dblib.dll"

Post by Hert » 07 Nov 18 17:02

For completeness;
Install the Microsoft C++ runtime libraries:

https://www.microsoft.com/en-us/downloa ... x?id=30679
This is a User-to-User forum which means that users post questions here for other users.
Feature requests, change suggestions, or bugs can be logged in the ticketing system

Post Reply