[英]task created through TaskScheduler.dll failed through exception - The data area passed to a system call is too small
I used TaskScheduler.dll
(1.0) to create and register a task. 我使用TaskScheduler.dll
(1.0)创建和注册任务。 It registers the task and runs on my machine. 它注册任务并在我的机器上运行。 But when i deployed the executable to a diff machine it threw and exception -The data area passed to a system call is too small. 但是,当我将可执行文件部署到差异计算机时,它抛出了异常,-传递给系统调用的数据区域太小。 (Exception from HRESULT: 0x8007007A
). (来自HRESULT: 0x8007007A
异常HRESULT: 0x8007007A
)。
What i could figure out was that the user information was failed to pass to the API but not sure why. 我能弄清楚的是,用户信息未能传递给API,但不确定为什么。
That error is due to a limitation in the OS (depends on Windows version used!) for tasks with user credentials... basically you need to stop the task scheduler service and start it again, wait 10-15 minutes and then try again... 该错误是由于具有用户凭据的任务在OS中存在限制(取决于所使用的Windows版本!)...基本上,您需要停止任务计划程序服务并重新启动它,等待10至15分钟,然后重试。 ..
For details see this MS KB article . 有关详细信息,请参阅此MS KB文章 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.