Error -2147217843 When Connecting to a Password Database in LabVIEW

Updated Jan 27, 2025

Reported In

Software

  • LabVIEW

Issue Details

When connecting to a password protected database in LabVIEW I am getting the following error:

Error -2147217843 occurred at NI_Database_API.lvlib:DB Tools Open Connec (String).vi->VIName.vi

Possible reason(s):

ADO Error: 0x80040E4D

Exception occured in Microsoft Access Database Engine: Cannot start your application. The workgroup information file is missing or opened exclusively by another user. in NI_Database_API.lvlib:DB Tools Open Connec (String).vi->VIName.vi

 

Solution

This LabVIEW issue could be caused with the connection string syntax. For some databases that are password protected the password should be placed in the connection string and not in the Database Toolkit Open Connection.vi password terminal. Make sure the syntax you are using is correct for your database. The following website can be used to get the proper syntax depending on the provider you use.