Run .vbs file

Quintas 20 Reputation points
2023-01-26T21:44:51.9+00:00

Hi!

I don't know about scripting in vbs. Here in the environment we have a 2008 Standard R2 server with scheduling that executes a .bat file with: cscript file.vbs

Everything works normally. But I need to migrate this server to a 2016 and when testing this same process it gives error "Microsoft VBScript runtime error: Array fixed or temporarily blocked" code 800A000A

I noticed that when I run it in 2008 it shows "Microsoft (R) Windows Script Host Version 5.8" and when I run it in 2016 the version is "Microsoft (R) Windows Script Host Version 5.812"

What do I need to do for this same .vbs script that is functional to also run in 2016?

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
0 comments No comments
{count} votes

Accepted answer
  1. Michael Taylor 47,716 Reputation points
    2023-01-26T22:24:55.09+00:00

    I don't think it is specifically related to Server 2016 but more likely something the script itself is doing. If the script is erroring then you should be able to determine which line it is failing on. Provide the code that is failing so we can see what is going on.


1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more