IIS+MySql+Delphi ISAPI dll (using Zeos): libmysql missing?
Posted: 17.08.2012, 09:50
Hi all.
When calling a web app developed using Delphi2009 and installed on an IIS web server, I receive the following error message: "None of the dynamic libraries can be found: libmysql51.dll, libmysql50.dll, libmysql.dll".
The IIS (ver. 7.5) is on a remote Windows "Web Server 2008 R2" system (64bit OS); on the same machine I installed MySQL Community Edition 5.5.27 64 bit and Workbench 5.2.42 32bit. So far so good. The Workbench works fine and I can connect/create DB/create tables...
Now, on my development PC (Windows 7 Home Premium 64bit) I have RAD Studio 2009 and installed Zeos libraries (ver 7.0.0-dev) to build a web app to deploy on the above mentioned webserver.
Setting the properties of a ZConnection, a ZTable and a DataSetTableProducer I can see data table values in the Columns property of the latter. So, I guess, everything is set right and should work.
That's not the case.
When deploying my web app (project1.dll) on a properly configured directory on IIS, pointing a browser toward that "service" it gives me back the missing lib error mentioned above.
Other parts of the same web app works just fine (they're not db-related).
You can test it yourself by using the following URLs:
95.110.232.243/isola/project1.dll
95.110.232.243/isola/project1.dll/menu (same as above; it's the default action)
95.110.232.243/isola/project1.dll/table (this generate the ERROR on IIS).
I read a few posts about incompatibility between 64 and 32 libraries, directories where to copy a version of libmysql.dll (which one? actually I have got 3 of them..sigh!) and other tips, but they all seem not work for me.
Any suggestion?
Thank you.
Umberto
ps: I posted an identical message on dev.mysql.com forum Newbie to no avail.
When calling a web app developed using Delphi2009 and installed on an IIS web server, I receive the following error message: "None of the dynamic libraries can be found: libmysql51.dll, libmysql50.dll, libmysql.dll".
The IIS (ver. 7.5) is on a remote Windows "Web Server 2008 R2" system (64bit OS); on the same machine I installed MySQL Community Edition 5.5.27 64 bit and Workbench 5.2.42 32bit. So far so good. The Workbench works fine and I can connect/create DB/create tables...
Now, on my development PC (Windows 7 Home Premium 64bit) I have RAD Studio 2009 and installed Zeos libraries (ver 7.0.0-dev) to build a web app to deploy on the above mentioned webserver.
Setting the properties of a ZConnection, a ZTable and a DataSetTableProducer I can see data table values in the Columns property of the latter. So, I guess, everything is set right and should work.
That's not the case.
When deploying my web app (project1.dll) on a properly configured directory on IIS, pointing a browser toward that "service" it gives me back the missing lib error mentioned above.
Other parts of the same web app works just fine (they're not db-related).
You can test it yourself by using the following URLs:
95.110.232.243/isola/project1.dll
95.110.232.243/isola/project1.dll/menu (same as above; it's the default action)
95.110.232.243/isola/project1.dll/table (this generate the ERROR on IIS).
I read a few posts about incompatibility between 64 and 32 libraries, directories where to copy a version of libmysql.dll (which one? actually I have got 3 of them..sigh!) and other tips, but they all seem not work for me.
Any suggestion?
Thank you.
Umberto
ps: I posted an identical message on dev.mysql.com forum Newbie to no avail.