FIX: Msadco.dll Update to Address Access Violation in Devenv.exe

ID: Q200244


The information in this article applies to:
  • Microsoft Visual InterDev, version 6.0
  • Microsoft Visual Studio 6.0
  • Microsoft Data Access Components versions 2.0, 2.1 SP2
    on the following platforms: x86
  • Microsoft Visual J++, version 6.0


SYMPTOMS

Random crashing may occur with Visual InterDev 6.0 and 2.0 versions of MDAC when editing Active Server Pages (ASP) or HTML pages that have HTML <OBJECT> references to RDS DataControl objects (CLSID:BD96C556-65A3-11D0-983A-00C04FC29E33). Here's a sample error message:

DEVENV.EXE Exception: access violation (0xc0000005), Address: <address>


CAUSE

The cause of the problem is that the development shell is performing some design-time calls to ADO/RDS when it encounters the DataControl object. ADO/RDS is attempting to access an asynchronous thread that has been shut down by ADO/RDS.


RESOLUTION

Install MDAC 2.1. For information on obtaining the latest version of MDAC visit:

http://www.microsoft.com/data
A workaround for this bug is listed in the following article in the Microsoft Knowledge Base:
Q200683 VI 6.0 or VJ++ 6.0 Crash When Editing HTML With RDS Objects
The QFE is a ZIP file that contains the updated Msadco.dll.

This hot fix is engineered to work with MDAC build 2.0 SP1 and should only be applied to this specific build. To verify the build of MDAC, check the internal version number of Mdado15.dll, it should be 2.0.3002.23.

Installation:

  1. Locate the Msadco.dll on the target system.


  2. Check the version number is should be 2.0.3002.23.


  3. Copy the new MSADCO.DLL over the existing one.


  4. Register the DLL using RegSvr32 Msacdo.dll.


MDAC 2.1 fixes this problem. This QFE should not be applied to older MDAC versions or MDAC 2.1.


STATUS

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

This bug was corrected in Visual Studio 6.0 Service Pack 3. which installs MDAC 2.1.

For more information about Visual Studio 6.0 Service Packs, please see the following articles in the Microsoft Knowledge Base:


Q194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

Q194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed

Additional query words: kbQFE

Keywords : kbservicepack kbADO210fix kbDatabase kbVisID600 kbVJ600 kbVS600bug kbGrpASP kbVS600sp3fix kbGrpMDAC kbDSupport kbRDS210SP2
Version : WINDOWS:2.0,2.1 SP2,6.0
Platform : WINDOWS
Issue type : kbbug


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