Microsoft Knowledge Base Email Alertz

(236044) - 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):...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 236044 - Last Review: May 17, 2007 - Revision: 3.2

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

This article was previously published under Q236044

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 the latest download MDAC from the following Microsoft Universal Data Access Web site:
http://msdn2.microsoft.com/en-us/data/aa937695.aspx (http://msdn2.microsoft.com/en-us/data/aa937695.aspx)

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are 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:
225047  (http://kbalertz.com/Feedback.aspx?kbNumber=225047/EN-US/ ) BUG: Java OLE DB Simple Provider Does Not Work Reliably

APPLIES TO
  • Microsoft Data Access Components 2.1 Service Pack 2
  • Microsoft Data Access Components 2.5
  • OLE DB Simple Provider Toolkit 2.0
  • Microsoft Visual J++ 6.0 Standard Edition
  • Microsoft Data Access Components Software Development Kit 2.1
  • Microsoft Data Access Components Software Development Kit 2.0
  • Microsoft Data Access Components Software Development Kit 2.0
Keywords: 
kbbug kbdatabase kbfix kbmdac210sp2fix kbmdacnosweep KB236044
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate