Dynamics NAV 2009 Troubleshooting

Article • 4/29/2023 • 2 min read

The following section presents solutions that were designed to troubleshoot issues and errors in the Dynamics NAV 2009 and 2009 R2 releases of the Aptean EDI solution. Although these issues should not be present in the Dynamics 365 Business Central release for which this manual was written, in the event that they do appear, the following information may be helpful.

Message/IssueOccurrenceMessage LocationPossible Solution
Failed to receive from EDI Port ### - The underlying connection was closed: An unexpected error occurred on a receive.Whenever Job Queue is run.Windows Event Viewer.Windows has run out of temp file names in the temp file directory. Delete all files in the temp file directory, then re-start Job Queue.
Failed to receive from EDI Port ### - This message is for C/AL programmers: A call to Aptean EDI.Inbound. Receive failed with this message: Could not load file or assembly ‘QlmLicenseLib, Version=###, Culture=neutral, PublicKeyToken=###’ or one of its dependencies. This system cannot find the file specified.Whenever Job Queue is run.Windows Event Viewer.Ensure that the correct version of the Aptean EDI Handler has been installed on the Service Tier server processing EDI messages.
Internal error 33 occurred in module 35.Whenever Job Queue is run.Message appears to the user at the time of occurrence.Download and install Microsoft Core XML Services (MSXML) 6.0, which can be obtained from the following link: https://www.microsoft.com/en-us/download/details.aspx?id=43199.
Microsoft Dynamics NAV Classic Microsoft Dynamics NAV System.Exception: Invalid URI: The hostname could not be parsed. at Aptean EDI.Inbound. Receive (XmlDocument& doc)Whenever Job Queue is run.When Job Queue is run, this message appears in the EDI Log. When the user is attempting to manually process an inbound EDI message, this message appears to the user at the time of occurrence.Review the relevant In/Out address paths (either specific to the EDI port or the default values on the EDI Setup page) and ensure that the slashes go in the proper direction.
The SMTP mail system returned the following error: (0x80040211): The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available.When attempting to send a notification message.Message appears to the user at the time of occurrence.Review the values that have been assigned on the SMTP Mail Setup page and ensure that they are correct.