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?

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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