NewObject Error: 200 on new workstation

SOLVED

I have a script that has been running for years to verify login credentials in Sage. I just setup a new workstation and am getting the following error when running this script.

Error: <NewObject Error: 200>

Below is the code leading up to this. It's erroring on the last line.

Set oScript = CreateObject("ProvideX.Script")
oScript.Init("\\10.0.0.206\Sage\MAS90\Home")
Set oSS = oScript.NewObject("SY_Session")

Does anyone have any idea what could be causing this?

Parents
  • 0

    Any 3rd party add-ons installed on the server that have client components that need to be installed on the workstations?

    If I recall correctly, Avalara or anything that deals with encryption might require additional files on the workstation.

    Check NTFS permissions too, the user running the script should be able to read and write within the MAS90 directory on the server.

    Are you sure your path is pointing to the MAS90 directory on the server?

    Are you sure the error is occurring on the "Set oSS = oScript.NewObject("SY_Session")" line and not a line further down where you are trying to get a new object to something like CI_Item_Bus?

Reply
  • 0

    Any 3rd party add-ons installed on the server that have client components that need to be installed on the workstations?

    If I recall correctly, Avalara or anything that deals with encryption might require additional files on the workstation.

    Check NTFS permissions too, the user running the script should be able to read and write within the MAS90 directory on the server.

    Are you sure your path is pointing to the MAS90 directory on the server?

    Are you sure the error is occurring on the "Set oSS = oScript.NewObject("SY_Session")" line and not a line further down where you are trying to get a new object to something like CI_Item_Bus?

Children