Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Dialog System Error 18 occurs when running deployed application

Dialog System Error 18 occurs when running deployed application

Problem:


 

I have deployed a Dialog System application to my server, however when I run the application from a client PC the following error appears:

How can I avoid this?

Solution:


The solutions offered here assume that the COBOL Server and application deployment have followed the guidelines in the following article:

Network deployment of Visual COBOL 2.3 native applications

Set the environment variable COBDATA to point to the folder where the screenset is located.

There are two options that can be applied in order to make sure that the screenset is found.

Option 1:

When building the application, add an Application.config file and add the detail for COBDATA as shown:

(Note: the Value \\10.0.0.21\Appdir represents the application deployment folder (shared) on the server)

Option 2:

Set the environment variable COBDATA on the client PC to point to the folder where the screenset is located on the server,

typically this can be set in a batch file that would the launch the application:

rem *
rem * Set COBDATA to find the screenset
rem * Use UNC with server IP address and share name
rem *
SET COBDATA=\\10.0.0.21\Appdir

rem * now set path etc...... and launch the application

or

rem *
rem * Set COBDATA to find the screenset
rem * Use UNC with server name and share name
rem *
SET COBDATA=\\MyServer\Appdir

rem * now set path etc...... and launch the application

 

 

 

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2017-03-16 21:52
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.