NickAkincilar / QlikSense-Task-Failure-Email-Alerts

Automated email alerts for failed Qlikse Alerts
29 stars 5 forks source link

Windows Task Fails To Run With Error 0xE0434352 #34

Open WendellTruax opened 1 year ago

WendellTruax commented 1 year ago

Ran into an issue where the Windows Task will no longer run as intended, instead it give the 0xE0434352 error code in the last run. When looking into the Windows Event Viewer Logs I see a more detailed error that contains the following:

Application: QlikSenseEmailAdmin.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.DirectoryNotFoundException 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.CreateFile(System.String, Boolean, Boolean) at System.IO.StreamWriter..ctor(System.String, Boolean, System.Text.Encoding, Int32, Boolean) at System.IO.StreamWriter..ctor(System.String) at MyLogger.Logger.Start(System.String) at QlikSenseEmailAdmin.Program.Main(System.String[])

I have the task running with the highest privleges (admin). Also the process runs successfully if I run it from the command prompt manually. Not sure what the root cause of the issue here is.