Skip to main content

Hi,

I have the application running on production enviorment for more than 3 years without any issue. Now we bought new computers with the same configuration that we areadly heave on our production enviormet and when some especifics programs are called they are returning the following error.

Load error : file 'path\\programName.dll'

Error Code: 174, PC = 0, Call= 1, Seg = 0

Error 174 - Imported file not found (path\\programName.dll)

Detail, I have about 100 machines running the same application on the same path and the error does not happend on it. Just on new ones or if get formatted.

For development I'm using Visual Studio 2019 Visual Cobol 5.0 pu 21.

Compiling for x86.

Regards


#VisualStudio
#call
#VisualCOBOL

Hi,

I have the application running on production enviorment for more than 3 years without any issue. Now we bought new computers with the same configuration that we areadly heave on our production enviormet and when some especifics programs are called they are returning the following error.

Load error : file 'path\\programName.dll'

Error Code: 174, PC = 0, Call= 1, Seg = 0

Error 174 - Imported file not found (path\\programName.dll)

Detail, I have about 100 machines running the same application on the same path and the error does not happend on it. Just on new ones or if get formatted.

For development I'm using Visual Studio 2019 Visual Cobol 5.0 pu 21.

Compiling for x86.

Regards


#VisualStudio
#call
#VisualCOBOL

This error is documented here:

It means:

COBRT174 Imported file not found (Fatal)

You have tried to load a .dll file which contains references to another .dll file which cannot be found by the operating system.

Resolution:

Locate the missing file and ensure it is located on the default search path for your operating system.
--------------------------------------------------------------

This could be a COBOL or a non-COBOL dependency .dll that is missing from your system or even an operating system .dll.

You could run the procmon utility Process Monitor - Windows Sysinternals | Microsoft Learn to trace your executable, which would tell you what it is searching for or you could use a tool such as Dependencies which you can download from here

Are you reinstalling the COBOL Server product onto your new system or just copying files over? Installing COBOL Server should cause all of the software prerequisites to be installed automatically. If you are just copying the application then you might be missing some of these prerequisites.