registrywindows-server-2003

Disable debug prompt on application crash


Question: I need to disable the console application's crash debug prompt.

Background: We've got an application that syncs info with a third party that crashes due to connectivity problems with the 3rd party at certain times of the day. We don't have access to the source code to trap the error properly so I just need the application to fail and try again. I've got another application that monitors our sync tool to make sure it's running.

when the sync apps crashes there is a debug prompt that requires a users interaction. Because this stays on the screen the application never actually stops running. As a result the "health check" never knows of the failure.

I've done this about 2 years ago but for the life of me I can't the remember the article or the needed registry path.

OS: Windows 2003 Server Application Type: .NET 3.5 Console Application


FIX: found by: John Knoeller

Delete the following keys

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
.NETFramework\DbgManagedDebugger


Solution

  • Possibly this?

    How to: Enable/Disable Just-In-Time Debugging

    The registry keys are

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger