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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 872 views
  • 0 likes
  • 1 in conversation