The Script Control object could not be created


Posting this in case it helps someone else.  Client is on SPC (new), v2022.2, and we received this error when trying to add a UDS (clicking the green check-mark button to verify syntax).

The script host was properly installed (and Allow External Access enabled), with correct file association, but it turns out they were running the 64-bit version of Sage 100.

Changing to 32-bit (running the utility) fixed the error.

Parents Reply
  • 0 in reply to Patrick K.

    You should find a file called "RegCom64.bat" in the folder "C:\ProgramData\Sage\Common Components". Close down Sage 100 if running and run this batch file. The batch file will self elevate and perform the COM registration(s). Note: you will need to be an administrator or a user that is part of the administrator group for this to register the components correctly.

    If this does not resolve the issue then please report back so we can research further.