Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running a win32 application developed using VB6 with some 3rd party controls. I get the following error: 'Unhandled win32 exception error occurred in myprogram.exe'. How do I resolve this?

share|improve this question
Are you the author of that program or was is written by someone else you can't contact? – splattne Aug 26 '09 at 12:07
NB: I'am the author of the program. – Jack Njiri Aug 27 '09 at 10:33

You would be better off asking this at StackOverflow, which is dedicated to programming, but the short answer is you need to debug your program. You need to determine where the error occurs and then either fix it if it's in your code or look into other options relating to those controls.

share|improve this answer
John Gardeniers, Im on StackOverflow, I just thought there might be a setting I can change on Windows Server to enable the application to run. – Jack Njiri Aug 27 '09 at 11:13
No setting is going to remove the bug(s). This has to be properly debugged. Doing otherwise you stand an excellent chance of ending up with an unreliable server, because unhandled exceptions have a habit of corrupting other parts of the system. – John Gardeniers Aug 28 '09 at 2:16

The easiest way to resolve this is to run drwtsn32 to get a crash dump, however if you see a message like that the app is likely handling its own exceptions and preventing the exception from propagating to Windows. You need to contact the author of the app. If you can modify the source code, remove the unhandled exception handler and build with debug symbols, let DrWatson catch the error for you, then open the crash dump in windbg to see where the exception was thrown in the first place. Fixing the error is left as an exercise.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.