Solved

Unhandled Exception

Posted on 2010-11-08
4
766 Views
Last Modified: 2012-05-10
I am running into an issue where I am trying to run a .exe file and when I double click on the file I get a small pop-up stating:

Unhandled exception: c0000005
At address:              :  00dc9085

When I click on the OK button I get a Visual Studio Just-In-Time Debugger error stating:

An unhandled win32 exception occurred in Setup_Adam)Server.exe [6996].  Just-In-Time debugging this exception failed with the following error:  No installed debugger has Just-In-Time debugging enabled.  In Visual Studio, Just-In-Time debugging can be enabled from Tools/Options/Debugging/Just-In-Time.

Problem is I don't have Visual Studio installed on the server, but I'm pretty sure there is something else I can do to fix this.  Any help would be appreciated.


0
Comment
Question by:mekkattiljj
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
rgn2121 earned 250 total points
ID: 34090078
Not sure I can solve the error, but if you can recompile the exe, then you can add code for unhandled exceptions...
0
 
LVL 16

Assisted Solution

by:JohnBPrice
JohnBPrice earned 250 total points
ID: 34093601
Other things to try:

Check the event log of the server for clues.

If you can recompile the application in debug mode and generate the .pdb symbol file and place these on the server you may get more information when it fails.

error 0005 is Access denied, you can try running tools like DiskMon (previously known as FileMon) and ProcessMon (previouls regmon) from Microsoft's sysinternals acquisition.  The will show you EVERY file  or registry key being accessed and will show if the system returned Access Denied.  They will also help figure out exactly where the app is when the error occurs.  The logs they generate are HUGE though.
0
 
LVL 16

Expert Comment

by:JohnBPrice
ID: 34093613
error 0005 is Access denied, thus also think about what the app is accessing and what things might be denied, like file/folder/shares, database, etc.
0
 

Author Closing Comment

by:mekkattiljj
ID: 34364118
Figured out myself
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question