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

Post Reply
thenetstriker
Posts: 56
Joined: 05 Jul 10 18:24

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

Post by thenetstriker »

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: 7870
Joined: 13 Sep 03 6:24

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

Post by Hert »

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. If you have suggestions, requests or need support then please send a message
thenetstriker
Posts: 56
Joined: 05 Jul 10 18:24

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

Post by thenetstriker »

Hert wrote: 23 May 18 19: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: 7870
Joined: 13 Sep 03 6:24

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

Post by Hert »

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. If you have suggestions, requests or need support then please send a message
thenetstriker
Posts: 56
Joined: 05 Jul 10 18:24

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

Post by thenetstriker »

Hert wrote: 24 May 18 16: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: 7870
Joined: 13 Sep 03 6:24

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

Post by Hert »

Maybe a virus scanner?
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
thenetstriker
Posts: 56
Joined: 05 Jul 10 18:24

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

Post by thenetstriker »

Hert wrote: 24 May 18 19: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: 7870
Joined: 13 Sep 03 6:24

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

Post by Hert »

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. If you have suggestions, requests or need support then please send a message
thenetstriker
Posts: 56
Joined: 05 Jul 10 18:24

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

Post by thenetstriker »

Hert wrote: 25 May 18 18: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: 7870
Joined: 13 Sep 03 6:24

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

Post by Hert »

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. If you have suggestions, requests or need support then please send a message
thenetstriker
Posts: 56
Joined: 05 Jul 10 18:24

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

Post by thenetstriker »

Hert wrote: 28 May 18 8: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: 7870
Joined: 13 Sep 03 6:24

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

Post by Hert »

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. If you have suggestions, requests or need support then please send a message
Post Reply