Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'The specified module could not be found' error

Status
Not open for further replies.

LucieLastic

Programmer
May 9, 2001
1,694
GB
hi All

I have a very simple app which was written in Delphi 5 Prof and used the NetMasters ftp component NMFtp and BDE components. This app was run on a server with no problems.

The app was changed to run in Delphi 7 Prof using the Indy component TidFTP and ADO. I run the app with no problems on my PC but when I try to run it on the server, I get 'The specified module could not be found', which isn't very informative.

Can anyone shed any light and maybe point me in the right direction?

many thanks in advance
lou

 
Also, W2K is running on my PC and the server. The form is also very basic with not many components on it.

lou

 
Lou,

did you try to update MDAC? what database are you connecting to?

daddy

--------------------------------------
What You See Is What You Get
 
hi, whorsdaddy, thanks for the quick reply.

The app was originally connecting to Sybase and is now connecting to SQLServer 2000(processing of moving everything from Sybase to SQLServer). We only installed the Client Tools on the server as this is not the main database server, just one that runs the .exes. How can I check the version of MDAC on my pc and on the server to see if they are different?

lou

 
Hi -

Think you may have to give more information about the "module" in question (the one that cant be found.)

If Delphi is installed on the Server, the simplest way would be to step through the code till the error is generated - that way you can identify the module in question.

Alternatively, place some debug code in the app to show you precisely where the error occurs. That way you may have a good idea as to where the problem may lay.

It may be that some needed support library (DLL whatever) or dependant system file is missing.

Opp.
 
hi Oppenhiemer

"Think you may have to give more information about the "module" in question "

That's the problem, it doesn't give me any more info, very frustrating. The full error message is 'The specified module could not be found' with the app name in the dlg caption.

I reckon it's to do with the MDAC. The SQL stuff was installed on the server as a client machine because we only want the connectivity things on there rather than full blown SQL Server.

I will try your suggestion, Opp, of debug messages in the app too. Can't really debug it on the server as unable to put delphi on it and never done any remote debugging - could remote debugging help?

lou

 
Lou -

I think to find MDAC version you need to locate the relevant DLL (I think its called msado15.dll - probably something starting with MSADO and ending in .DLL and will probably found in system directory in windows.)

Right-click on this file and select "properties" from the pop-up menu in Explorer.


Opp.
 
Thanks everyone. I will try it tomorrow as at home now (in the UK). I'll let you know how I get on.

cheers
lou

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top