Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: Product license error

$
0
0

If you created these .dlls using Visual COBOL for Visual Studio 2013 then you need to run these using the COBOL Server 2013 product and not the COBOL Server 2012 product.

If you want to install your application and COBOL Server to a network share and then run them from the share on workstations on which there is no COBOL Server product present then you must set this up so that the application can find the license manager which is running on the server.

The following are the instructions for setting up this type of deployment:

Development requirements:

1. Compile your applications with link option Dynamic.

  This is required if you wish to use the run-time launcher.

  In VC on Properties-->Link tab select dynamic checkbox and rebuild.

Server setup: The following assumes COBOL Server 2013 is used. If using 2010 or 2012 then substitute that name instead.

1. Install COBOL Server 2013 on server

2. Run Start Menu-->All Programs-->Micro Focus License Manager-->License Administration

  - Install the COBOL Server license

  - Go to Options-->Advanced Configuration and change License Server to either the server name or the actual IP address of the server

  - Click Save and exit License Manager

3. Copy the following files to the folder C:\Program Files\Micro Focus\COBOL Server 2013\bin:

  - C:\Program Files\Common Files\Safenet Sentinel\Sentinel RMS License Manager\WinNT\mfcesd.exe

  - C:\Program Files\Common Files\Safenet Sentinel\Sentinel RMS License Manager\WinNT\mfcesdchk.exe

  - C:\programData\Micro Focus\ces.ini

    (C:\ProgramData is hidden by default so if you cannot see it you must turn on the option "Show hidden files, folders, and drives" under Control Panel-->Folder Options)

  - If you are using COBOL Server for VS2010:

    for 64 bit applications

    - C:\Windows\system32\msvcr100.dll

    for 32 bit applications

    - C:\Windows\sysWow64\msvcr100.dll

  - If you are using COBOL Server for VS2012:

    for 64 bit applications

    - C:\Windows\system32\msvcr110.dll

    for 32 bit applications

    - C:\Windows\sysWow64\msvcr110.dll

  - If you are using COBOL Server for VS2013:

    for 64 bit applications

    - C:\Windows\system32\msvcr120.dll

    for 32 bit applications

    - C:\Windows\sysWow64\msvcr120.dll

4. Create a network share called serverbin for the folder C:\Program Files\Micro Focus\COBOL Server 2013\bin and give all your users rights to it.

5. Create a run-time launch file in Notepad called <progname>.exe.mfcfg where <progname> should be replaced by your .exe files name.

  It should contain the following two lines.

  SET BINPATH=\\myserver\serverbin

  SET CESDYNAMIC=\\myserver\serverbin\ces.ini

  where myserver should be replaced by your actual server name.

  Save this in the same folder as your .exe on the server.

Workstation setup:

1. Set the PATH on the workstation to include the serverbin share and your applications folder:

  PATH=\\myserver\serverbin;\\myserver\<yourapp folder>;%PATH%

  where myserver should be replaced by your actual server name.

2. Run your application on your workstation.


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>