One of our customer ist using the Zetadocs Express Version 5.3.3 with Microsoft Dynamics NAV 2009 R2 RTC.
Lateley almost everyday the following (rather unspecific) error message appears when using the save and send function:
"Failed to send report. If the problem persists please contact your administrator."
After an arbitrary time (e.g. 20min sometimes longer) the System is able to save and send the report as usual without any problems.
In the Logfile, one can see, where it fails:
Detailed Problem Description / Observations:
As it is shown in the log, the Codeunit 9041211 seems to cause the error message
Client-System
Has anyone an idea, what could be possible reasons for this error message/behaviour?
My only guess is, that the OS and Outlook versions may be too new for the zetadocs version, but it is still very strange, that it sometimes works, but sometimes does not, even when the same data (report id / order) are processed.
Any help is appreciated.
Best Regards
Eric
*This post is locked for comments
Thank you for your reply. I will check on the users client, if the file is saved correctly on the specified path.
I don't think that the filename is a problem here (as it is in the linked fix). No file I checked so far contained any invalid special characters such as / ? < > \ : * | "
Extended Logs
19.07.19-11:22:26-DEBUG-C9041211.DownloadReportToClient() Successfully downloaded file to client: C:\Users\islr\AppData\Local\Temp\Microsoft Dynamics NAV\13280\{C8A143C2-B764-40E2-BFF6-D68DD17D151D}\Purchase-Bestellung 728068.pdf
19.07.19-11:22:26-ERROR-C9041212.GetFileNameFromFilePath(C:\Users\islr\AppData\Local\Temp\Microsoft Dynamics NAV\13280\{C8A143C2-B764-40E2-BFF6-D68DD17D151D}\Purchase-Bestellung 728068.pdf)
19.07.19-11:22:26-ERROR-C9041212.GetFileNameFromFilePath() Returning Purchase-Bestellung 728068
19.07.19-11:22:26-DEBUG-C9041211.GetEmailAddress(Purchase Header: Bestellung,728068)
19.07.19-11:22:26-DEBUG-C9041223.GetCustomEmailAddress(38, 405)
19.07.19-11:22:26-WARNING-C9041223.GetCustomEmailAddress() Returning empty email address
19.07.19-11:22:26-DEBUG-C9041211.GetEmailAddress() Returning email: info@abc.ch from Contact Card
19.07.19-11:22:26-DEBUG-C9041211.SendInternal(info@igp.ch, Purchase-Bestellung 728068, C:\Users\islr\AppData\Local\Temp\Microsoft Dynamics NAV\13280\{C8A143C2-B764-40E2-BFF6-D68DD17D151D}\Purchase-Bestellung 728068.pdf)
19.07.19-11:22:26-DEBUG-C9041211.SendInternal() Failed to send report. Unable to create new email message
I am thinking the report is not being saved or the process is not finding the file to send, as reported in the below url one of the issue could be that.
In your screenshot the line above which you have highlighted has the path for that file when you get error do you see the file in that location ?.
Sohail Ahmed
2
mmv
2
Amol Salvi
2