Open sbrusse opened 6 years ago
We just downloaded the 1.4b onto a Windows 2012 server and are experiencing the same issue.
I would check to make sure the service account running the service has full rights to all the folders that the app is trying to access.
Run the EXE as Admin (right click run as admin) then click on VIEW HISTORY button. That should open the directory it is using to save the log files. The service account needs Full access to this directory plus the directory where the exe file is.
Thanks Nick. We just uninstalled the program and reinstalled it using the service account.
Thanks again.
From: NickAkincilar notifications@github.com Sent: Monday, June 03, 2019 11:45 AM To: NickAkincilar/QlikSense-Task-Failure-Email-Alerts QlikSense-Task-Failure-Email-Alerts@noreply.github.com Cc: Craig Bence cbence@owenind.com; Comment comment@noreply.github.com Subject: Re: [NickAkincilar/QlikSense-Task-Failure-Email-Alerts] Scheduled email alert task ends with error (#18)
Run the EXE as Admin (right click run as admin) then click on VIEW HISTORY button. That should open the directory it is using to save the log files. The service account needs access to this directory plus the directory where the exe file is.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/NickAkincilar/QlikSense-Task-Failure-Email-Alerts/issues/18?email_source=notifications&email_token=AMG6VZWY2JFWHQWTRQPVXODPYVC7BA5CNFSM4FB7CBDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWZ737I#issuecomment-498335229, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMG6VZQH7NXMVLXHFFVZTQTPYVC7BANCNFSM4FB7CBDA.
When running the scheduled task it fails because of an unhandled execption from .NET Runtime. The event viewer shows the following event message:
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[])
One milisecond later the following event.
Faulting application name: QlikSenseEmailAdmin.exe, version: 1.0.0.0, time stamp: 0x598b0159 Faulting module name: KERNELBASE.dll, version: 10.0.14393.2189, time stamp: 0x5abdad60 Exception code: 0xe0434352 Fault offset: 0x0000000000033c58 Faulting process id: 0x1f3c Faulting application start time: 0x01d3f650f43583e6 Faulting application path: D:\Program Files\QlikSenseEmailAlert\QlikSenseEmailAdmin.exe Faulting module path: C:\Windows\System32\KERNELBASE.dll Report Id: 49ecc2f6-a56b-46d6-9c92-5323d4ba3c22 Faulting package full name: Faulting package-relative application ID:
I'm using version 1.4b with Qlik Sense April 2018 on a Windows Server 2016 virtual machine.