SAS Enterprise Guide

Desktop productivity for business analysts and programmers
BookmarkSubscribeRSS Feed
szschem
Fluorite | Level 6

The default setting for a scheduling a process in EG 6.1 (64 bit) fails if your process is stored on a network drive. 

Scheduling a process creates a Windows task in the Task Scheduler.  However, the default setting for a new task are to "Run whether user is logged on or not" (in the General tab of the task properties in the Windows Task Scheduler), and to not store the password (which means task will only have access to local computer resources).  With these setting the task runs only with local resources, even if the user is logged in at the time. Setting the task to "Run only when user is logged on" resolves the issue.

Microsoft says the error code translates to "ERROR_DIRECTORY" in article http://support.microsoft.com/kb/2452723.

1 REPLY 1
AmitSingh
Obsidian | Level 7

Thanks for the post. My requirement is very close to this post. 

 

I would like to schedule the SAS projects/Process from SAS server. And projects are placed at Network drive. We have a specific windows user "sas_schduler" through which network drive can be accesible. Now if I choose option "Run whether user is logged on or not" then schedule will not run when user "sas_schduler" is not logged in. If I donot choose this option then task scheduler gets failed with same error code you mentioned 2147942667. 

Do you have some other solution for this problem?

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

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
  • 1 reply
  • 6122 views
  • 1 like
  • 2 in conversation