logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: WebModuleException: Error loading library 'DB2CLI.DLL'
Author
db



Joined: 25 Jun 2012
Posts: 5
Location: Canada, Vancouver

PostPosted: Tue 26 Jun '12 17:22    Post subject: WebModuleException: Error loading library 'DB2CLI.DLL' Reply with quote

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

PostPosted: Thu 28 Jun '12 14:08    Post subject: Reply with quote

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

PostPosted: Thu 28 Jun '12 16:38    Post subject: Reply with quote

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


Reply to topic   Topic: WebModuleException: Error loading library 'DB2CLI.DLL' View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules