Skip to main content

Use count exceeded (Loc 518) on Windows 11

  • March 25, 2025
  • 2 replies
  • 6 views

Juan Manuel Urraburu
Forum|alt.badge.img+1

Hi,

Two customer running RM/COBOL Runtime version 12 reported this same issue: Error invoking unauthorized copy of runtime. Use count exceeded (Loc 518), running under Windows 11.

Any ideas or ways to solve this?

Regards,



------------------------------
Juan Manuel Urraburu
Director, Information Technology
ProRM Uruguay
Montevideo UY
------------------------------

2 replies

John Aukema
  • Participating Frequently
  • March 26, 2025

Hi,

Two customer running RM/COBOL Runtime version 12 reported this same issue: Error invoking unauthorized copy of runtime. Use count exceeded (Loc 518), running under Windows 11.

Any ideas or ways to solve this?

Regards,



------------------------------
Juan Manuel Urraburu
Director, Information Technology
ProRM Uruguay
Montevideo UY
------------------------------

Hi Jaun,

Check the Licensed user count in C:\\ProgramData\\Liant\\RMCobolv12\\license.vlt

Or in, C:\\ProgramData\\Micro Focus\\RM\\RMCOBOLv12\\license.vlt

If using thin client, then check the number of runcobol.exe processes active on the server.

Also, in code you can get the current user count.

COPY "RMINFO.cpy"

CALL "C$GetRMInfo" USING RMInformation.

MOVE RM-UseCountInUse TO ws-current-users.

MOVE RM-UseCountLimit TO ws-user-limit.

John



------------------------------
John Aukema
Senior Software Developer
Parklane Computer Systems
London CA
------------------------------

Juan Manuel Urraburu
Forum|alt.badge.img+1

Hi Jaun,

Check the Licensed user count in C:\\ProgramData\\Liant\\RMCobolv12\\license.vlt

Or in, C:\\ProgramData\\Micro Focus\\RM\\RMCOBOLv12\\license.vlt

If using thin client, then check the number of runcobol.exe processes active on the server.

Also, in code you can get the current user count.

COPY "RMINFO.cpy"

CALL "C$GetRMInfo" USING RMInformation.

MOVE RM-UseCountInUse TO ws-current-users.

MOVE RM-UseCountLimit TO ws-user-limit.

John



------------------------------
John Aukema
Senior Software Developer
Parklane Computer Systems
London CA
------------------------------

Hi John,

Thanks for your ideas!

The problem was solved uninstalling and installing again.

Best regards



------------------------------
Juan Manuel Urraburu
Director, Information Technology
ProRM Uruguay
Montevideo UY
------------------------------