Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: WebModuleException: Error loading library 'DB2CLI.DLL' |
|
Author |
|
db
Joined: 25 Jun 2012 Posts: 5 Location: Canada, Vancouver
|
Posted: Tue 26 Jun '12 17:22 Post subject: WebModuleException: Error loading library 'DB2CLI.DLL' |
|
|
Hi Experts,
I am new to Apache and hoping someone will be able to help.
I have an Apache shared module written in Delphi. That module talks to a DB2 database. However, occasionally, I get this error:
Code: | Project httpd.exe raised exception class ESDSqlLibError with message 'Error loading library 'DB2CLI.DLL''. |
When looking at log file I create on errors, I see this:
Code: | -------------- WEB MODULE ERROR! --------------
6/21/2012 3:12:43 PM
WebModuleException: Error loading library 'DB2CLI.DLL'. |
DB2CLI is DB2 client. I am not sure why it would work most of the time but sometimes not.
As said, I am new to Apache, any reasonably explained suggestion would be highly appreciated.
Thanks,
db |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 28 Jun '12 14:08 Post subject: |
|
|
You might use LoadFile.
use fullpath. Than it should load every time.
Code: |
LoadFile "C:/MySQL/bin/libmysql.dll"
|
|
|
Back to top |
|
db
Joined: 25 Jun 2012 Posts: 5 Location: Canada, Vancouver
|
Posted: Thu 28 Jun '12 16:38 Post subject: |
|
|
James Blond wrote: | You might use LoadFile.
use fullpath. Than it should load every time.
Code: |
LoadFile "C:/MySQL/bin/libmysql.dll"
|
|
This is what I am doing. The module is loaded most of the time. Only occasionally it fails.
Thanks, |
|
Back to top |
|
|
|
|
|
|