title: Windows Error Reporting Event ID: 1001, Event Name: CLR20r3
body: <p>I have a Windows Service application written in VB.Net, Visual Studio 2013 on a PC running Windows Server 2012 R2 64-Bit.  The service uses the Interop.cwbx dll to connect to an AS/400 to read from and write to data queues.  The service starts, creates the data queues on the AS/400, then goes into a loop checking for data on the AS/400.  It reads data from the output queue, but when it tries to write to the input queue the service fails with the following:</p>
  
  <pre class="lang-none prettyprint-override"><code>Fault bucket , type 0
  Event Name: CLR20r3
  Response: Not available
  Cab Id: 0
  
  Problem signature:
  P1: choicepointservice.exe
  P2: 1.0.0.0
  P3: 5c9bcbb9
  P4: mscorlib
  P5: 2.0.0.0
  P6: 5c541a35
  P7: 15e
  P8: 6c
  P9: System.ArgumentOutOfRange
  P10: 
  
  Attached files:
  C:\Windows\Temp\WER55CE.tmp.WERInternalMetadata.xml
  C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_choicepointservi_2a53760e3d148bb8c0ca41346c13afed6f337_00000000_cab_104755fd\memory.hdmp
  C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_choicepointservi_2a53760e3d148bb8c0ca41346c13afed6f337_00000000_cab_104755fd\minidump.mdmp
  
  These files may be available here:
  C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_choicepointservi_2a53760e3d148bb8c0ca41346c13afed6f337_00000000_cab_104755fd
  
  Analysis symbol: 
  Rechecking for solution: 0
  Report Id: c40d52c9-50c5-11e9-80f7-005056bbfe84
  Report Status: 4
  Hashed bucket: 
  </code></pre>
  
  <p>My first thought is that it's a permissions issue writing to the AS/400, but I have nothing to prove that.  Any help solving the fail would be greatly appreciated.</p>
  
  <p>Dave.</p>