Click here to Skip to main content
15,895,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
onclick event of a button I am finding a win32 unhandled exception onrsd.exe [4008]

displaying a Visual Studio Just-In-Time Debugger

Please help me to remove such an exception.
Posted

To disable the exception you need to edit the registry. In the Registry Editor (regedit command) window, locate and delete the follow registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger
 
Share this answer
 
Comments
djrocks0101 9-Mar-12 5:21am    
Thanks for the solution. But please let me know one thing that What is the reason behind this exception and what are the side effects of this solution.
Hanif Hefaz 30-Oct-15 2:23am    
thank you very much.
Member 14797321 9-Apr-20 11:01am    
After deleting both files, i am still getting same error!!!
The first thing you need to do is find out what is causing the exception - we can't because we can't see your screen, access your HDD, or read your mind! :laugh:
At the beginning of your click event, add a try block, and it's catch at the end:
C#
private void button1_Click(object sender, EventArgs e)
    {
    try
        {
        ... All your code goes here
        }
    catch (Exception ex)
        {
        MessageBox.Show(ex.ToString());
        }
    }
With any luck, the error and trace will point you at the offending code.
If it doesn't then we need the error details, and the code that generated it.
 
Share this answer
 
Hi,

this is a solution for the a win 32 unhandled exception with msdev.exe, maybe your problem is similar.

http://support.microsoft.com/kb/811191[^]

What does your application do (should do...) on click event?
onrsd.exe belongs to oracle, do you have Android Java JDK installed?

Regards
 
Share this answer
 
v2
Comments
djrocks0101 9-Mar-12 6:29am    
Thanks.
El_Codero 9-Mar-12 8:09am    
Could you give a feedback which solution works for you? Useful for users who'll read this thread later ;).Best Regards

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900