Blog

Friday, December 09, 2011

Error Popups Prevent My Server/application from Restarting

If your server or application fails to restart when a error popup displays then the following fix will solve the problem. Go to http://msdn.microsoft.com/en-us/windowsembedded/standard/aa731206.aspx and follow the instructions there for the registry modification of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows\ErrorMode After you change the registry key, you will need to restart the computer for the changes to take effect. Note: Be extremely careful with the registry as incorrect changes can break Windows.

For low-level filtering out visible notification of various errors use registry entry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows\ErrorMode. ErrorMode value descriptions: 0 - All messages are visible (default value). 1 - Only system messages are invisible. An example of this type of message is: "Virtual Memory Minimum Too Low." 2 - All messages are invisible. An example of this type of message is: "Unable to Locate Component" shown when application can't load DLL statically linked to it.

You should use the last setting (2) for the registry tweak. The first registry key will fix the error (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows\ErrorMode). The registry file contains the following:

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows] "ErrorMode"=dword:00000002
Comments
Post has no comments.



Captcha Image

Recent Posts



Tags


Archive

    Sign up for Product Updates and Discounts
    Captcha Image
    ×