I have three versions of LabVIEW [LabVIEW 2019, LabVIEW 2020, LabVIEW 2021], therefor there are different versions of Database Connectivity Toolkit.When running the "Convert Database Variant to Data.vi" example on Windows 10 (64bit), with LabVIEW 2020 (64bit), I get the following error:
Error -2146824582 occurred at NI_Database_API.lvlib:DB Tools Open Connec (String).vi->NI_Database_API.lvlib:DB Tools Open Connec (Path).vi->Convert Database Variant to Data.vi
The issue like this might appear if the toolkits were installed after LabVIEW versions, as a result the dependences are overlapped and, in some cases, this will lead to the error we see.Before performing the steps described below, please make sure that the internet connection is stable.
NOTE: When installing different versions of LABVIEW, make sure to do it from earliest to oldest.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.