Skip to main content

Problem:

How do I resolve "Error invoking unauthorized copy... (Loc 508)" on Windows Vista, and above?

Resolution:

On Windows Vista, and above, the RM/COBOL runtime and compiler require that the Use Count service be installed and started in order to execute properly.  If the Use Count service is not present, the runtime will terminate with the following messages:

Error invoking unauthorized copy of runtime.

Windows function error (Loc 508).

On Windows systems, this problem usually occurs when the RM/COBOL files are copied to the affected system from another machine, or, when executing the RM/COBOL Runtime from a mapped network drive without first performing a network installation.

If a full install onto the Windows machine or a "network" install (using a network file server) is done, then the installation process properly installs and starts the Use Count service and there is no problem.

Please see the Solution on running the Use Count Service on Vista for more information.

This error can also be caused by the User Account Control (under Control Panel, User Accounts) not being configured correctly. Please contact your Computer Support department for assistance.

    

Old KB# 4686