Click here to Skip to main content
15,890,370 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
My application has stopped working. I am facing the issue while continuously clicking the EXE file. the problem signature is:
C#
Problem signature:
  Problem Event Name:                        CLR20r3
  Problem Signature 01:                       merpda.exe
  Problem Signature 02:                       12.7.5.2
  Problem Signature 03:                       568a03e1
  Problem Signature 04:                       mscorlib
  Problem Signature 05:                       4.0.30319.17929
  Problem Signature 06:                       4ffa561c
  Problem Signature 07:                       43c4
  Problem Signature 08:                       1f4
  Problem Signature 09:                       System.IO.IOException
  OS Version:                                          6.1.7601.2.1.0.256.4
  Locale ID:                                             1033
  Additional Information 1:                  0a9e
  Additional Information 2:                  0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:                  0a9e
  Additional Information 4:                  0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt
Posted
Comments
_Asif_ 5-Jan-16 6:47am    
why are you continuously clicking the exe file? stop continuous click and problem might go away :)

1 solution

Quote:
Patient: it hurts when I hit myself on the head!
Doctor: well stop hitting yourself on the head!

Obviously some file/stream is being opened and you are trying to open it again
1) If you are running the exe again when one is already running then try to check for single instance running and exit if not : c# - What is the correct way to create a single instance application? - Stack Overflow[^]
2) If you are clicking inside the application then put a lock around the code in the click handler :
C#
private object _lock = new object();
private void button1_click(object sender, EventArgs e)
{
   lock(_lock)
   {
       // your normal code here
   }
} 
 
Share this answer
 

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