An error occured while executing 'Task-DeliveryTask'

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
Luket
New user
New user
Posts: 24
Joined: 2018-01-03 15:45

An error occured while executing 'Task-DeliveryTask'

Post by Luket » 2018-08-16 10:01

I got following error into ERROR_hmailserver_<DATE>.log:

"ERROR" 6380 "2018-08-16 09:51:47.946" "Severity: 3 (Medium), Code: HM4227, Source: File::ReadFile, Description: An unknown error occurred while reading file from disk."
"ERROR" 6380 "2018-08-16 09:51:47.946" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask', Message: Attempt to read from file which has not been opened."
"ERROR" 6380 "2018-08-16 09:51:48.212" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2018-08-16 095147_{B2D0791F-D690-466D-9851-1F3A63894BA3}.dmp"

minidump is also present.
How can I fix the problem ?

User avatar
Dravion
Senior user
Senior user
Posts: 1688
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: An error occured while executing 'Task-DeliveryTask'

Post by Dravion » 2018-08-16 18:42

Attach your Minidump to your next reply.

User avatar
mattg
Moderator
Moderator
Posts: 21184
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: An error occured while executing 'Task-DeliveryTask'

Post by mattg » 2018-08-17 04:10

Probably caused by Antivirus quarantining the file while hMailserver was trying to read.

Exclude hMailserver data directory from AV scanning
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Luket
New user
New user
Posts: 24
Joined: 2018-01-03 15:45

Re: An error occured while executing 'Task-DeliveryTask'

Post by Luket » 2018-08-17 11:34

Dravion wrote:
2018-08-16 18:42
Attach your Minidump to your next reply.
Wich way minidump can be read ?
Attachments
minidump_2018-08-16 095147_{B2D0791F-D690-466D-9851-1F3A63894BA3}.zip
(42.81 KiB) Downloaded 94 times

User avatar
Dravion
Senior user
Senior user
Posts: 1688
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: An error occured while executing 'Task-DeliveryTask'

Post by Dravion » 2018-08-17 21:03

Minidumps can be read by WinDBG, the official Microsoft Windows Debugger. Its an Experttool for Programmers only. Its free avaiable as part of the Windows Driver Kit or the Windows SDK or as Debugging Tools for Windows Standalone Package.

User avatar
Dravion
Senior user
Senior user
Posts: 1688
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: An error occured while executing 'Task-DeliveryTask'

Post by Dravion » 2018-08-17 21:22

Ok, the Crashdump didnt provide much infos, bc i have not the right PDB Files for your hMailServer version at hand.
I need some more infos about your hMailServer version so i can checkout and build the correct PDB's for your hMailserver.exe version which is
required for WinDBG.

Try the following:
1) Download HMSInfo.exe, goto the Downloadfolder and doubleclicl on it
2) Click the Scan Button
3) Click the Save button and give it a name
4) Attach the saved logfile to your next reply

In the meantime, disable your Antivirus tool, check your Windows Event Systemlog for NTFS, Bad blocks and Volume Error Messages
or Warnings and try again. Take a look if new Minidumps are created and Enabled full hMailServer logging in hMailServer logging Settings.

Luket
New user
New user
Posts: 24
Joined: 2018-01-03 15:45

Re: An error occured while executing 'Task-DeliveryTask'

Post by Luket » 2018-08-18 10:02

Hope this can be usefull:
Image

Also disabling data folder from AV protection has been tested without solve the problem.

User avatar
Dravion
Senior user
Senior user
Posts: 1688
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: An error occured while executing 'Task-DeliveryTask'

Post by Dravion » 2018-08-18 10:09

Yeah, but the HMSInfo Logfile is missing :)

Luket
New user
New user
Posts: 24
Joined: 2018-01-03 15:45

Re: An error occured while executing 'Task-DeliveryTask'

Post by Luket » 2018-08-18 21:28

That depends on not working SCAN function.

Post Reply