BookmarkSubscribeRSS Feed
elwayfan446
Barite | Level 11

Hello everyone,

 

I have searched and searched for a resolution to my problem but none of the information I am finding is working.  I am trying to create a scheduled task to run a SAS EG project.  However, the task that is created fails to run the generated .vbs file.  I get an "object required" error.

 

"Microsoft VBScript runtime error: Object Required"

 

I have tried the following solutions with no luck.

 

http://blogs.sas.com/content/sasdummy/2011/05/03/using-sas-enterprise-guide-to-run-programs-in-batch...

https://stackoverflow.com/questions/29663480/windows-task-scheduler-run-vbscript

http://support.sas.com/kb/35/654.html

 

I have also made sure the eg .exe is registered.

 

If I run a command file manually that points to the .vbs file, it runs fine.  I just can't get it to work in any task scheduler I try.

1 REPLY 1
elwayfan446
Barite | Level 11

Also, I currently use SAS EG 6.1, 64bit and I have a 64bit Windows 10 machine.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 763 views
  • 0 likes
  • 1 in conversation