PROBLEM

Reopening an existing ADO connection in VBA or VB

Last Published: April 25, 2020

Description

Closing and subsequently reopening an ADO connection (in VBA or VB) sometimes fails with the following error:

"Provider not found. It may not be properly installed."

Cause

Provider has not been referenced prior to reopening.

Solution or Workaround



Include the following line of code before you reopen the ADO connection:

Code:
<ADO connection object>.provider = <name of provider>

Article ID:000002669

Software:
  • ArcMap 8 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic