- You receive application error messages that are similar to the following:ApplicationName – Application Error
The instruction at "memory address" referenced memory at "0x00000000". The memory could not be "read".
Click on OK to terminate the program
Click on CANCEL to debug the program
- A Microsoft COM+ Interop type mismatch exception occurs when you try to process a record that is returned when the application calls the DataQueue.GetQueueItem method. This exception only occurs when the application uses managed code. This exception does not occur if the application uses Microsoft Visual Basic 6. The error message that you receive may be similar to the following:System.Runtype.InteropServices.SafeArrayTypeMismatchException
The COM+ Interop type mismatch exception occurs because the AS/400 Data Queue ActiveX control returns record data as a safe array of VT_UI1 data. This data is not Automation compatible. This behavior causes the COM+ Interop layer to return the type mismatch exception because the COM Interop layer does not know how to marshal the VT_UI1 data.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Date Time Version Size File nameNote Because of file dependencies, the most recent fix that contains these files may also contain additional files.
29-Sep-2005 19:39 6.0.1988.0 121,344 Mseigdq.dll
This hotfix does not fix the problem in which a COM+ Interop type mismatch exception occurs. However, you can resolve problem by using the .NET Framework 2.0 on any computer that is running a .NET Framework application that calls the AS/400 Data Queue ActiveX control. The .NET Framework 2.0 can correctly marshal unsigned byte arrays such as VT_UI1 data types. Therefore, the type mismatch exception does not occur.
Article ID: 904708 - Last Review: Mar 29, 2017 - Revision: 4