The purpose of this article is to provide steps to take when sending faxes using XMLAPI and the FaxMaker fax server service crashes with ntdll.dll as the crashing module.
Any FaxMaker installation.
There are two resolutions with two root causes, and each will be covered below. The two root causes can work in conjunction with each other, so if possible it is best to apply both solutions.
When there are nested folders in the XMLAPI pickup folder and the check box include subfolders in the FaxMaker Configuration is selected, this has the potential to cause the service crash, especially if there are permission issues on any of the subfolders. Removing any nested folders in the XMLAPI pickup folder and deselecting the check in the include subfolders box is solution #1. The steps for this are listed below:
- From Programs, open the FaxMaker Configuration.
- Expand Advanced and select TextAPI/XMLAPI and select Properties on the right.
- Select the XMLAPI tab.
- Remove the check from the box under Include Subfolders and select OK.
- Navigate to the XMLAPI pickup folder.
- Remove any nested folders here.
The more common cause for this crash is FaxMaker trying to delete the response files stored in the pickup folder after they have been deleted by the software that is integrated with the XMLAPI feature. This can work with cause #1 as FaxMaker attempts to delete the status file, but it has already been deleted or it is in a nested folder and it is no longer able to be found or permission in a nested folder is not granted.
For this, a registry key will be added to set a time delay for FaxMaker to delete the files. Follow the steps below to set this key.
- Right-click the Start button and select Run.
- Type Regedit and select OK.
- Navigate to the following location:
64 bit: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\GFI Fax & Voice\FAXmaker\Config
32 bit: HKEY_LOCAL_MACHINE\SOFTWARE\GFI Fax & Voice\FAXmaker\Config
- Add the DWORD XMLAPIExpiry and set the value to one of the following:
0 = Never delete
1 - 9 numeric values - time in minutes before deleting the files
- Close the Registry Editor.
- From the service.msc, restart the FaxMaker services.
After applying one or both of the solutions above, the FaxMaker fax server service will no longer be crashing.