Sage MAS 90 and 200 Sage MAS 500 blogs Product Feedback Support Training
Reply
Contributor
dosborn
Posts: 25
Registered: 12-15-2011
0

Moved Script to New Environment and Get Error Object required: 'oScript'

I moved a script from our test environment to another test environment and in the new evironment I get the error

 

Object required: 'oScript'

 

I do have external access checked on the company record.  Any ideas what else it could be?  I did see some comment with this error about it being a server side script, but in my original test system it was a client script and it worked fine.  If I select run script on server in the new environment it changes back to client side once I leave that screen and return.

Contributor
dosborn
Posts: 25
Registered: 12-15-2011
0

Re: Moved Script to New Environment and Get Error Object required: 'oScript'

As a test I went back to the original test system and toggled it to run on server and now I get the same error message there and it always defaults back to run on client.

Contributor
clearis
Posts: 27
Registered: 10-28-2008
0

Re: Moved Script to New Environment and Get Error Object required: 'oScript'

[ Edited ]

 

 

Contributor
dosborn
Posts: 25
Registered: 12-15-2011
0

Re: Moved Script to New Environment and Get Error Object required: 'oScript'

[ Edited ]

It appears that in the original test environment it works fine on my machine, but when I remote desktop into the server and run the client from there it gives the Object required: 'oScript' error message.

 

I didn't do the original install, but I am pretty sure it was installed and not just copied.

Contributor
clearis
Posts: 27
Registered: 10-28-2008
0

Re: Moved Script to New Environment and Get Error Object required: 'oScript'

MAS 90 or 200 and what version?

Contributor
dosborn
Posts: 25
Registered: 12-15-2011
0

Re: Moved Script to New Environment and Get Error Object required: 'oScript'

[ Edited ]

MAS 200 4.40.0.6

Super Contributor
connex
Posts: 795
Registered: 10-29-2008
0

Re: Moved Script to New Environment and Get Error Object required: 'oScript'

You would get this error on the server if you run it on the client, because the advanced scripting is available only on the server pvxwin32.exe and not the MAS 200 client pvxwin32.exe.

 

If your test system were MAS 90, the it should run fine there as client.

Dan Burleson
Sage Authorized Consultant - Ask me about advanced scripting!
e-mail me here