Created On:  11 Ocrober 2011

Problem:

We installed Net Express 5.1 on a Windows 7 computer.  When clicking a screenset file with extension .gs in the IDE the following error occurs:

Load error: file 'dspaint' error code:173, pc=0, call=1, seg=0 173 Called program file not found in drive/directory

A similar error occurs when trying to run a Dialog System application in the IDE on the call to DSGRUN.

Resolution:

This is a known issue with Net Express 5.1 and Windows 7.

On Windows 7 the quotes that are placed around the PATH settings in the Net Express or Server for COBOL 5.1 registry settings is causing the PATH to be invalid so the search for DSGRUN and DSPAINT fails.

The workaround is to remove the quotes from the PATH settings using regedit.

There are two locations that need to be modified.
The key names will depend on if this is Windows 7 32-bit or 64-bit.
--------------------------------------------
The fix for this is to make a few registry changes to handle this:-
 
HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Micro Focus\\NetExpress\\5.1\\Dialog System\\5.1\\Environment
 
•    Remove the “ (quotes) from the PATH setting
 
HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Micro Focus\\NetExpress\\5.1\\Unix\\Environment
    
•    Remove the “ (quotes) from the PATH setting
 
The above keys are on a 64bit machine. You will need to ignore the “Wow6432Node”  for a 32bit machine.
Incident #2541210