PRB: Run-Time Error Message 430 with ADO Redistributed Application (248404)



The information in this article applies to:

  • Microsoft Visual Basic Professional Edition for Windows 6.0
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0
  • Microsoft Data Access Components 2.0
  • Microsoft Data Access Components 2.1
  • Microsoft Data Access Components 2.5
  • Microsoft Data Access Components 2.6
  • Microsoft Data Access Components 2.7
  • Microsoft Data Access Components 2.8

This article was previously published under Q248404

SYMPTOMS

When an ADO application is redistributed, it produces the following run-time error on the user's computer:
Run-time Error 430
Class does not support automation or does not support expected interface.

CAUSE

The application references one version of ADO and redistributes a different version of ADO.

RESOLUTION

Install the correct version of MDAC on the user's computer and change the installation program to redistribute the correct version.

STATUS

This behavior is by design.

MORE INFORMATION

The Recordset object interface changed between MDAC versions 2.0 and 2.1. Therefore, if the application opens a Connection or Command object, this should succeed.

The latest version of MDAC can be downloaded from: NOTE: There have been changes in the Recordset object interface between MDAC 2.1 and 2.5 as well.

Modification Type:MinorLast Reviewed:11/3/2003
Keywords:kbprb KB248404