我有一个已经成功运行了两个多月的计划任务。 3月12日/ 13日,任务停止运行,每次在3月12日/ 13日之后每次尝试运行时,都会收到以下错误。
最让我困惑的是,它成功运行了两个多月,然后停止了工作。 我检查了我的networking团队,他们也不能想到会发生任何影响的变化。
当我手动执行存储在任务计划程序中具有相同执行path的程序时,它会成功运行。
任何build议表示赞赏和故障排除build议,鼓励。
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[])