我在运行Windows Server 2012 R2 64位的PC上使用VB.Net,Visual Studio 2013编写了Windows Service应用程序。该服务使用Interop.cwbx dll连接到AS / 400以读取和写入数据队列。服务启动,在AS / 400上创建数据队列,然后进入循环检查AS / 400上的数据。它从输出队列中读取数据,但是当它尝试写入输入队列时,该服务将失败,并显示以下内容:
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:
我首先想到的是写入AS / 400的权限问题,但是我没有任何证据。解决故障的任何帮助将不胜感激。
戴夫。