Bulletin ID A2E_193
Last Review 05/14/2010
Revision 1.0
Previous IDs None
Obsoletes A2E_184

ERROR: Console does not open or crashes with Fault in module ntdll.dll

Summary

There are multiple causes for this issue. They are described here.

Symptom

When opening the Add2Exchange Console, the application crashes. The following event shows up the Application Event Viewer log:

Problem Event Name:         APPCRASH
Application Name:           Add2Exchange Console.exe
Application Version:        7.4.0.104
Application Timestamp:      4bd9c5ec
Fault Module Name:          ntdll.dll
Fault Module Version:       6.0.6002.18005
Fault Module Timestamp:     49e03824
Exception Code:             c0000005
Exception Offset:           0001e562
OS Version:                 6.0.6002.2.2.0.272.7
Locale ID:                  1033
Additional Information 1:   fd00
Additional Information 2:   ea6f5fe8924aaa756324d57f87834160
Additional Information 3:   fd00
Additional Information 4:   ea6f5fe8924aaa756324d57f87834160

Description

There are 3 known causes for this error:

  1. Old CDO version
  2. Data Execution Prevention
  3. Exchange 2007 and CDO incompatibility

These are listed in the order in which you should try to solve them.

The first is Data Execution Prevention (DEP). This normally affects us when we are in a Virtual Machine, and the host machine believes we have caused an access fault. You can add our Add2Exchange Console.exe to the exclusion list in DEP to solve this issue.

The second, more common reason that the Add2Exchange Console would crash is related to CDO. On some servers, there is a file in the CDO package which does not communicate correctly with Exchange 2007. This file is emsmdb32.dll. This DLL has no dependencies and only affects applications which use CDO. You can find a replacement version of this DLL (emsmdb32.zip) at: ftp://ftp.diditbetter.com/Exchange/ Simply rename the existing emsmdb32.dll on the server Add2Exchange is installed on, and place the replacement file in the same folder as the original.

Resolution

Old CDO Version

If Add2Exchange is installed on a server other than an Exchange 2003 server, then it is using MicrosoftG##s standalone MAPI and CDO package. Make sure Outlook is not installed, as OutlookG##s CDO conflicts with the correct CDO version that Add2Exchange needs.

If Add2Exchange is using standalone CDO, then upgrade to the latest. You can always obtain the latest version of CDO at:

http://www.microsoft.com/en-us/download/details.aspx?id=1004

Prior to installing this version, uninstall the old version of CDO. Some versions upgrade improperly and donG##t replace all files.

After installation, reboot the server and open the console.

Data Execution Prevention

If that doesnG##t solve the issue, then turn off Data Execution Prevention for the Add2Exchange Console.

  1. Right-click on My Computer
  2. Select Properties
  3. Select the Advanced tab
  4. Click the Settings button in the Performance box
  5. Select the Data Execution Prevention tab
  6. Add Add2Exchange Console.exe to the list of excluded processes
  7. Open the console

Exchange 2007 and CDO incompatibility

If that doesn't solve the issue, then replace the emsmdb32.dll file used by CDO.

  1. Go to: ftp://ftp.diditbetter.com/Exchange
  2. Download emsmdb32.zip
  3. Unzip the file
  4. Go to C:\Program Files\ExchangeMapi (or the appropriate install location for your system)
  5. Rename the existing emsmdb32.dll to emsmdb32_original.dll
  6. Copy the downloaded emsmdb32.dll to this directory
  7. Reboot the server
  8. Open the console

Applies To

  • Add2Exchange Standard
  • Add2Exchange Enterprise

Keywords: Add2Exchange Standard, Add2Exchange Enterprise, Console, Fault, ntdll.dll