Solved

Unhandled Exception

Posted on 2010-11-08
4
768 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…

821 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