简体   繁体   English

通过TaskScheduler.dll创建的任务因异常而失败-传递给系统调用的数据区域太小

[英]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.

相关问题 .Net错误(传递给系统调用的数据区域太小) - .Net Error(The data area passed to a system call is too small) 使用 C# EF6 保存时传递给系统调用的数据区域太小 - The data area passed to a system call is too small when saving with C# EF6 在UWP应用中传递给系统的数据区域错误太小 - Data area passed to a system is too small error in UWP app 观察到的任务异常调用TaskScheduler.UnobservedTaskException - Observed Task Exception calling TaskScheduler.UnobservedTaskException System.Overflow异常 - int32太大或太小 - System.Overflow Exception - int32 is too large or small 有关更多信息,System.Data.dll中发生了类型为'System.Data.SqlClient.SqlException'的未处理异常:用户'sa'登录失败 - Unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll for more information : login failed for user 'sa' 未处理的异常 System.OverflowException 值对于 Int32 来说太大或太小 - Unhandled exception System.OverflowException Value is either too large or too small for Int32 数据是通过AJAX传递给操作的对象数组 - Data is array of objects passed to action through AJAX 抛出异常:System.Data.dll 中的“System.ArgumentException” - Exception thrown: 'System.ArgumentException' in System.Data.dll Web API模型设置器异常未通过 - Web API Model setter exception not being passed through
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM