Error -2147287008 Occurred When Opening a Microsoft Access Database

Updated Oct 1, 2018

Reported In

Software

  • LabVIEW
  • LabVIEW Database Connectivity Toolkit

Issue Details

I tried to open a Microsoft Access Database from LabVIEW using a UDL file I created programmatically and the following error occurred:

Solution

This error occurs when the file reference used to programmatically create an UDL file is not closed before trying to open the Microsoft Access Database. The following snippet shows an example of a LabVIEW code that can be used to programmatically create an UDL file.
 

WAS THIS ARTICLE HELPFUL?

Not Helpful