FIX: Java OLE DB Simple Provider Crashes in Recordset.Delete() Method

ID: Q236044


The information in this article applies to:
  • Microsoft Data Access Components version 2.1 (GA)
  • OLE DB Simple Provider Toolkit, version 2.0
  • Microsoft Visual J++, version 6.0
  • Microsoft Data Access SDK, versions 2.0, 2.01, 2.1


SYMPTOMS

When using the OLE DB Simple Provider for Java, and when using the Recordset.Delete method, the following errors occur depending on the language that the recordset is used from:

In Visual C++

Unhandled exception in <program.exe> (MSDAOSP.DLL): 0xC0000005: Access Violation

In Visual Basic or Visual J++

The instruction at "<hex address>" referenced memory at "0x00000000". The memory could not be "read".


CAUSE

This error is caused by an attempt to use an invalid rowset interface within DeleteRowsetHelper.


RESOLUTION

This problem has been fixed with Microsoft Data Access Components (MDAC) 2.1 Service Pack 2 (SP2). You can download MDAC 2.1 SP2 from the following Microsoft Universal Data Access Web site:

http://www.microsoft.com/data/download.htm


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

The new release of MDAC also fixes a reference counting problem in the Java OLE DB Simple Provider, which causes unpredictable results and access violation errors (refer to the article in the References section).


REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

Q225047 BUG: Java OLE DB Simple Provider Does Not Work Reliably

Additional query words: java osp ole db simple provider crash av recordset delete method

Keywords : kbDatabase kbMAC kbMDAC kbOLEDB kbOSP kbVJ600bug kbDSupport kbMDAC210SP2fix
Version : WINDOWS:2.0,2.01,2.1,2.1 (GA),6.0
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: October 1, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.