KB: How to find event logs after an application terminated unexpectedly

After an application terminated unexpectedly, an event log file can assist with troubleshooting problems.

To find event logs soon after the application terminated unexpectedly:

  1. On the Windows Desktop, select the "Start" button.
  2. When the "Start" menu displays, enter the text "event".
  3. Select the "Event Viewer" entry.
  4. In the "Event Viewer" application window, in the left-side navigation pane, expand the "Windows Logs" entry, and select the "Application" entry.
  5. In the right-side "Actions" pane, select the "Create Custom View..." action.
  6. In the "Create Custom View" window, from the "Logged" drop-down list box, select the entry "Last hour".
  7. Select the "By source" radio-button.
  8. From the "Event sources" drop-down list box, select the "Application Error" checkbox, and leave all other checkboxes unselected.
  9. Select the "OK" button.
  10. In the "Save Filter to Custom View" window, select the "OK" button.
  11. In the "Event Viewer" application window, in the center pane, the "Application" table should display events with "Application Error" in the "Source" column that occurred during the last hour per the "Date and Time" column.
  12. In the "Applications" table, select an "Application Error" event, and view its summary below the "Applications" table in the "General" tab.
  13. In the "General" tab, refer to the "Faulting application path" entry that should match the path to the application that terminated unexpectedly (for example, "C:\Program Files\Idera\SQL Check\Idera.SQL.Check.exe").

To save one or more selected event logs as a file to disk:

  1. Select one or more "Application Error" events.
  2. Right-click on one of the events and select from the pop-up context menu the "Save Selected Events..." entry.
  3. In the "Save As" window, enter a valid path and file name, and select the "Save" button to save the events as an "Event File (*.evtx)".
  4. In the "Display Information" window, select the "OK" button.

Refer also to "How to send log files for free tools to IDERA?".