Dialog System Error 18 occurs when running deployed application

0 Likes
over 4 years ago

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

 

 

 

Comment List
Anonymous
Related Discussions
Recommended