cannot load dbexpmda40.dll (ISAPI)
cannot load dbexpmda40.dll (ISAPI)
I've written an ISAPI DLL. It uses the most recent version of your dbExpress driver.
I've put dbexpmda40.dll in the same folder as the ISAPI DLL. I get an error: Unable to load dbexpmda40.dll (ErrorCode 126). It may be missing from the system path.
The strange part is that sometimes everything just works fine. This is probably caused by another project that uses dbexpmda40.dll. If it is already in memory, it just uses the loaded dbexpmda40.dll and everything is fine. But after a while (some hours), I can get the same error back again.
I had a similar problem long time ago in a quite different situation: http://forums.devart.com/viewtopic.php?f=11&t=12572
What can I do to make my ISAPI DLL find the dbexpmda40.dll ?
I've put dbexpmda40.dll in the same folder as the ISAPI DLL. I get an error: Unable to load dbexpmda40.dll (ErrorCode 126). It may be missing from the system path.
The strange part is that sometimes everything just works fine. This is probably caused by another project that uses dbexpmda40.dll. If it is already in memory, it just uses the loaded dbexpmda40.dll and everything is fine. But after a while (some hours), I can get the same error back again.
I had a similar problem long time ago in a quite different situation: http://forums.devart.com/viewtopic.php?f=11&t=12572
What can I do to make my ISAPI DLL find the dbexpmda40.dll ?
Re: cannot load dbexpmda40.dll (ISAPI)
It seems that the Delphi XE3 version looks for the 5.1.3.0 version of the dbexpmda40.dll. An older ASP.NET project uses this version of the dbexpmda40.dll. When this project is running my ISAPI DLL runs fine. After a few hours of not using it (or recycling the app pool) I get this error message.
When I put the 5.1.3.0 version of the dbexpmda40.dll in the folder with the ISAPI Dll, everything is fine....
When I put the 5.1.3.0 version of the dbexpmda40.dll in the folder with the ISAPI Dll, everything is fine....
Re: cannot load dbexpmda40.dll (ISAPI)
Is this a bug in the latest version?
Re: cannot load dbexpmda40.dll (ISAPI)
dbExpress driver for MySQL supports RAD Studio XE3 since version 6.0.1. So, to use dbExpress driver for MySQL under RAD Studio XE3, you should use the 6.0.1 version at the least. If you want several projects to use different versions of dbExpress driver for MySQL, you should supply the correspondent dbexpmda40.dll libraries with these projects.
Re: cannot load dbexpmda40.dll (ISAPI)
I thought I did install the latest version 6.0.1. But the compiled DLL searchs for and loads the 5.1.3.0 version of the dbexpmda40.dll.
Re: cannot load dbexpmda40.dll (ISAPI)
Please try the following:
- remove dbExpress driver for MySQL;
- remove all dbexpmda40.dll files from your computer;
- install dbExpress driver for MySQL 6.0.1;
- recompile your ISAPI dll using dbexpmda40.dll from dbExpress driver for MySQL 6.0.1.
- remove dbExpress driver for MySQL;
- remove all dbexpmda40.dll files from your computer;
- install dbExpress driver for MySQL 6.0.1;
- recompile your ISAPI dll using dbexpmda40.dll from dbExpress driver for MySQL 6.0.1.
Re: cannot load dbexpmda40.dll (ISAPI)
I did exactly as you described. I renamed al my dbexpmda40.dll files to Xdmexpmda40.dll after deinstalling the dbexpress driver.
But the result is the same. The DLL wants to have the the 5.1.3.0 version of the dbexpmda40.dll. It gives the error message when I put the latest version of the dbexpmda40.dll in the same folder.
In a previous version I had the source code of DbxDevartMySql.pas. I don't know if that would make a difference.
But the result is the same. The DLL wants to have the the 5.1.3.0 version of the dbexpmda40.dll. It gives the error message when I put the latest version of the dbexpmda40.dll in the same folder.
In a previous version I had the source code of DbxDevartMySql.pas. I don't know if that would make a difference.
Re: cannot load dbexpmda40.dll (ISAPI)
Please send the source code of your ISAPI dll to andreyz*devart*com for the investigation.