BookmarkSubscribeRSS Feed
gspila
Calcite | Level 5

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.

EG_ERROR.jpg

5 REPLIES 5
ChrisHemedinger
Community Manager

Does the project work when run interactively?

 

This error might indicate a problem with the project file or a missing file.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
gspila
Calcite | Level 5

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.

ChrisHemedinger
Community Manager

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

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
gspila
Calcite | Level 5

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


ChrisHemedinger
Community Manager

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.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 2033 views
  • 0 likes
  • 2 in conversation