title: How can I diagnose my VB.NET program crash during execution?
body: <p>My program keeps crashing every time I try to run it on another machine other than my own dev system. It runs just fine on mine but crashes on everybody else's when I install and run it.</p>
  
  <p>To make matters worse, it only gives me the generic <strong>"[name here] has encountered a problem and needs to close. We are sorry for the inconvenience"</strong>. So i never can find out why and where it is crashing!!!!</p>
  
  <p><a href="http://img513.imageshack.us/img513/6010/ownerror.jpg" rel="nofollow noreferrer">http://img513.imageshack.us/img513/6010/ownerror.jpg</a></p>
  
  <p>The error signature is:</p>
  
  <pre><code>  EventType : clr20r3     P1 : [name here].exe     P2 : 1.0.0.0     P3 : 4d5a8bcb     
    P4 : own     P5 : 1.0.0.0     P6 : 4d5a8bcb     P7 : d     P8 : c6     
    P9 : system.invalidoperationexception
  </code></pre>
  
  <p>I even put the <strong>on error goto doh</strong> in the form_load and still I get nothing. Only thing it is loading up on the form_load is <strong>me.show()</strong> and thats it!</p>
  
  <p>If anyone has any insight as to what I could do to figure out what its crashing on then that would be very awesome! :o)</p>
  
  <p>Thanks,</p>
  
  <p>David</p>