The Script Control object could not be created

SOLVED

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.

  • 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.

    Regards,
    Russell

  • +1 in reply to Russell Libby
    verified answer

    So that didn't work initially, the batch file was stating it couldn't find tsc64.dll. I was able to locate this DLL on the server under ..MAS90\Migration\_Repository\_Repository_x64\wsc7.10\env\any\CommonProgramFiles\Sage\Common Components.

    Copied this to all clients' ProgramData, then ran the RegCom64.bat and am no longer receiving this error on any of the clients! Thank you so much!!!!

  • 0 in reply to Patrick K.

    Glad you were able to sort it, and sorry for the inconvenience. We will be working to resolve the workstation install issue.

    Regards,
    Russell