计划任务不再运行:异常代码:0xe0434352

计划任务不再运行:异常代码:0xe0434352

我有一个计划任务,已成功运行了两个多月。3 月 12/13 日,该任务停止运行,并且 3 月 12/13 日之后的每一天,每次尝试运行时,我都会收到以下错误。

最让我困惑的是,它成功运行了两个多月,然后就停止工作了。我向我的网络团队核实过,他们和我都想不出有什么变化会影响到这一点。

当我手动执行具有任务计划程序中存储的相同执行路径的程序时,它可以成功运行。

任何建议都值得赞赏,并且鼓励提出故障排除建议。

Faulting application name: CreateAndUploadDataV2.exe, version: 1.0.0.0, time stamp: 0x56faea31
Faulting module name: KERNELBASE.dll, version: 6.1.7601.19160, time stamp: 0x56bcd73c
Exception code: 0xe0434352
Fault offset: 0x000000000000965d
Faulting process id: 0x10d0
Faulting application start time: 0x01d18a6aeee70906
Faulting application path: C:\Users\Administrator.COMPANYNAME\AppData\Local\Apps\2.0\GNGACN1V.EY9\9HMZ7BQN.Q3P\crea..tion_456a55e2c103c34b_0001.0000_2d85cccaa67bcee3\CreateAndUploadDataV2.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 330cd66f-f65e-11e5-8535-000c298b7f97

这是.NET运行时错误:

Application: CreateAndUploadDataV2.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.UnauthorizedAccessException
Stack:
   at System.IO.__Error.WinIOError(Int32, System.String)
   at System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean, Boolean)
   at System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, Int32, System.IO.FileOptions, System.String, Boolean, Boolean, Boolean)
   at System.IO.StreamWriter..ctor(System.String, Boolean, System.Text.Encoding, Int32, Boolean)
   at System.IO.StreamWriter..ctor(System.String, Boolean, System.Text.Encoding, Int32)
   at System.IO.StreamWriter..ctor(System.String)
   at CreateAndUploadDataV2.Program.Main(System.String[])

相关内容