How to configure Windows Error Reporting to capture Meridian dump files

Background

When a Meridian server or client application crashes but the Windows Event Viewer doesn't provide enough information to diagnose the cause of the crash, additional information might be available in dump files created by Windows Error Reporting (WER). Providing these files to Accruent Support can help to expedite the resolution of crash issues.

Description

WER is not enabled by default. It can be configured to collect dump files from Meridian at the moment of a crash with the following settings.

For more information about WER, see Collecting User-Mode Dumps.

To configure Windows Error Reporting:

  1. Manually create the following folder on the client or server computer:

    “C:\temp\BC_DUMPS”
  2. Create and set the following registry values on the client or server computer:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps]
"DumpType"=dword:00000000
"DumpCount"=dword:00000005
"CustomDumpFlags"=dword:00041826
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\AMEDMW.exe]
"DumpType"=dword:00000000
"DumpCount"=dword:00000005
"CustomDumpFlags"=dword:00041826
"DumpFolder"=hex(2):43,00,3a,00,5c,00,74,00,65,00,6d,00,70,00,5c,00,42,00,43,\
00,5f,00,44,00,55,00,4d,00,50,00,53,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\BCEDM.exe]
"DumpType"=dword:00000000
"DumpCount"=dword:00000005
"CustomDumpFlags"=dword:00041826
"DumpFolder"=hex(2):43,00,3a,00,5c,00,74,00,65,00,6d,00,70,00,5c,00,42,00,43,\
00,5f,00,44,00,55,00,4d,00,50,00,53,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\PowerUser.exe]
"DumpType"=dword:00000000
"DumpCount"=dword:00000005
"CustomDumpFlags"=dword:00041826
"DumpFolder"=hex(2):43,00,3a,00,5c,00,74,00,65,00,6d,00,70,00,5c,00,42,00,43,\
00,5f,00,44,00,55,00,4d,00,50,00,53,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\PowerUserU.exe]
"DumpType"=dword:00000000
"DumpCount"=dword:00000005
"CustomDumpFlags"=dword:00041826
"DumpFolder"=hex(2):43,00,3a,00,5c,00,74,00,65,00,6d,00,70,00,5c,00,42,00,43,\
00,5f,00,44,00,55,00,4d,00,50,00,53,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Cyco\AutoManager Meridian\CurrentVersion\HyperTrieve]
@=""
"CreateMiniDump"=dword:00000001

Additional information

Following are the default settings:

Registry value defaults
Value Name Value Data Description
DumpType 0

Specify one of the following dump types:

0: Custom dump
1: Mini dump
2: Full dump

DumpCount 5

The maximum number of dump files in the folder. When the maximum value is exceeded, the oldest dump file in the folder will be replaced with the new dump file.

CustomDumpFlags 41826

The custom dump options to be used. This value is used only when DumpType is set to 0. The value is a bitwise combination of the MINIDUMP_TYPE enumeration values.

DumpFolder C:\temp\BC_DUMPS

The path where the dump files are to be stored. This folder must exist for the preceding registry values to work. If you do not use the default path, then make sure that the folder contains ACLs that allow the crashing process to write data to the folder.

For service crashes, the dump is written to service-specific profile folders depending on the service account used. For example, the profile folder for System services is %WINDIR%\System32\Config\SystemProfile. For Network and Local Services, the folder is %WINDIR%\ServiceProfiles.