Microsoft KB Archive/149422

= XCON: Creating Crash Dump Files when MTA Encounters Fatal Errors =

Article ID: 149422

Article Last Modified on 10/28/2006

-

APPLIES TO


 * Microsoft Exchange Server 5.5 Standard Edition
 * Microsoft Exchange Server 4.0 Standard Edition
 * Microsoft Exchange Server 5.0 Standard Edition

-



This article was previously published under Q149422



SUMMARY
This article describes how to cause the Microsoft Exchange Server message transfer agent (MTA) to create a crash dump file when a fatal error occurs instead of stopping unexpectedly.



MORE INFORMATION
When the message transfer agent (MTA) encounters a fatal error on a computer running Microsoft Exchange Server, the MTA normally stops unexpectedly. When this occurs, a severity 16 event appears in the event log and the Services tool in Control Panel indicates that the MSExchangeMTA service has stopped.

For troubleshooting purposes, you may want to configure Windows NT so that the MTA creates a crash dump file when a fatal error occurs instead of stopping unexpectedly. To do so, use the following steps.

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

  Verify that Dr. Watson for Windows NT is configured correctly. To do so, follow these steps:  Click Start, click Run, type drwtsn32 -i in the Open box, and then click OK. Click OK again. Click Start, click Run, type drwtsn32 in the Open box, and then click OK. Verify that the Create Crash Dump File check box is selected. Verify that the locations in the Log File Path and Crash Dump boxes refer to the Windows NT folder. In Dr. Watson for Windows NT, the Windows NT folder is typically represented by the %windir% variable. Click the Visual Notification check box to clear it. This allows the MTA to create the crash dump file without any input from you. If this check box is selected, a dialog box is displayed when a fatal error occurs and the crash dump file is not created until the dialog box is closed.</li> Click OK to close Dr. Watson for Windows NT.</li></ol>

After you perform these steps, the following registry values exist:

<pre class="fixed_text">     Value name: Auto Value type: REG_SZ Value data: 1

Value name: Debugger Value type: REG_SZ Value data: drwtsn32.exe -p %ld -e %ld -g

Value name: UserDebuggerHotKey Value type: REG_DWORD Value data: 0

These values are located under the following registry key:

<pre class="fixed_text">     HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version \Aedebug

NOTE: The above registry key is one path; it has been wrapped for readability.

</li> Start Registry Editor (Regedt32.exe or Regedit.exe as appropriate for your version of Windows NT).</li>  Locate the following registry key:

<pre class="fixed_text">     HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeMTA \Parameters

NOTE: The above registry key is one path; it has been wrapped for readability. </li>  On the Edit menu, click Add Value, and then add the following registry value (note case sensitivity):

<pre class="fixed_text">     Value name: Raise Exception on fatal error Value type: REG_DWORD Value data: 1 </li></ol>

After you perform these steps, the MTA does not stop unexpectedly when a fatal error occurs. Instead, fatal errors generate exceptions and cause a crash dump file to be created. The exception generated is 0xE005, where is a number that represents the specific error that occurred, if appropriate.

Additional query words: 9405

Keywords: kbenv kbhowto kbusage KB149422

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.