3

In a relatively new installation of Windows Server 2008 R2, there are occasional popup messages about Just-in-time debugging. These may come up in w3wp.exe when a search bot accesses an aspx application. These messages are local Windows popups, not in browsers.

I cannot debug "just-in-time", however, because there are no and never have been any debuggers on the server. Microsoft is kind enough to tell my I don't have a VS2010 license to debug when I click debug. This makes the popup messages pretty useless, particularly since I typically don't see them until a few days after the fact.

How can I disable the Just-in-time debugging popup messages?

enter image description here

xpda
  • 151
  • 2
  • 10
  • 4
    I think I'd be more inclined to try and fix the cause instead of hiding the effects. A crashing w3wp.exe process will also be affecting legitimate users of the application. Is this your code or a 3rd party application? – Chris McKeown Dec 01 '13 at 23:22
  • I can fix the causes, which are usually logged. That is a separate issue. The question is how to prevent the popup windows when an error does occur. – xpda Dec 02 '13 at 00:41
  • 2
    I have this problem on my sharepoint server too. The crashes are inconsequential but the popups are irritating. – Grant Dec 05 '13 at 04:36
  • There is also [a similar posting, over at Stack Overflow](http://stackoverflow.com/q/20550317/107625), maybe this helps someone, too. – Uwe Keim Nov 04 '16 at 18:30

1 Answers1

1

Remove the following Registry keys from the HKEY_LOCAL_MACHINE hive:

  • SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
  • SOFTWARE\Microsoft.NETFramework\DbgManagedDebugger
  • SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
  • SOFTWARE\Wow6432Node\Microsoft.NETFramework\DbgManagedDebugger
Mathias R. Jessen
  • 25,161
  • 4
  • 63
  • 95
  • 1
    I deleted the two AeDebug keys (and rebooted the server). The server does not have the DbgManagedDebugger keys. This made no difference -- the windows still appear. – xpda Dec 02 '13 at 02:51