I use Enterprise Guide 7.1 desktop, not server, and I have a few scheduled project which I run from windows task scheduler for almost two years.
Ten days ago they suddenly stop working, I uncommented the MsgBox strmsg line in the vbs, and it return the pop up attached.
Does the project work when run interactively?
This error might indicate a problem with the project file or a missing file.
Thanks for the reply, if I open and run the project there'no problem at all, only when I try to execute it in batch mode.
The same problem appear with other projects, not just one.
Is SAS Enterprise Guide a 32-bit version or 64-bit version?
If 32-bit, be sure you are kicking off the script with the 32-bit version of cscript (or wscript):
c:\Windows\SysWOW64\cscript.exe c:\projects\AutomationNewProgram.vbs
If 64-bit, use:
c:\Windows\system32\cscript.exe c:\projects\AutomationNewProgram.vbs
(I know those folder names seem backwards...but they aren't.)
It's 64 bit version, when I run it from command prompt with the 64 bit cscript I get the same error I already posted.
I also tried with the 32 bit version just to be sure, and I get another error
Error #80131534
In Function app.Open
and something like LibGit2Sharp.Core.NativeMethods has generated an exception
Okay, this sounds like it might be a bug -- I suggest tracking with SAS Technical Support. Make sure you're up-to-date on all EG hotfixes as well.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.