- Issue
-
When attempting to run a custom script, the following error message is displayed:
Error [6874]
Unable to Load Scripting Engine. Is ScriptControl registered?
- Resolution
-
This error results when either msscript.ocx or scrrun.dll are missing or unregistered. Both of these files are located in the system32 folder. Once you verify that these files exist in the system32 folder, register them with the regsvr32 command. If these files are missing, refer to Microsoft's Support Page.
Note:For 64-bit systems, the msscript.ocx and scrrun.dll files must be in the \Windows\SYSWOW64 folder and the regsvr32 command must be run from the \Windows\SYSWOW64 directory.
- Issue
-
When trying to run a script in OnBase Client, the script fails to run.
- Resolution
-
This error may result from the OnBase Client attempting to run a script without administrator privileges when administrator privileges are required. To have the OnBase Client run with administrator privileges:
- If the OnBase Client is open, close the OnBase Client.
- Right-click the OnBase Client shortcut and select Properties.
- Select the Compatibility tab.
- Enable Run this program as an administrator.
- Click Apply, and then click OK.