LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with ADO connection

Hello, I'm trying to communicate with a Access DB, registered as system DSN.
I've tried with labSQL toolkit and with ADO_toolkit , both gotten by LAVA site.
The only thing I see is a message: "interface non registered". I've checked, and I've installed ADO libraries from v2.0 to 2.7 (the last one availlable for WIN XP SP1).
With MS EXCEL I can communicate with the same database, and I can import the data I need, but with LV (v6.1.1 and v7.1.1), I can't connect to my database. Where is my fault?
 
Thanks in advance.
0 Kudos
Message 1 of 8
(3,790 Views)
Are you using a UDL? That has a test connection button, so after you declare the provider and connection string you can test the connection. After that works, most of the interfaces will work with the UDL.
0 Kudos
Message 2 of 8
(3,783 Views)
What's an UDL?
have you an example or a link?
 
Thanks
0 Kudos
Message 3 of 8
(3,786 Views)
0 Kudos
Message 4 of 8
(3,776 Views)

I can't see UDL in new files to be created, but I've created it by text file, but double clicking on it, the message is Provider not found. Verify installation.

0 Kudos
Message 5 of 8
(3,778 Views)
Maybe you need to reboot after the ADO installation. Otherwise, I would run over to the microsoft website and see if there is any troubleshooting over there. If the UDL does not work then there is a fundamental problem with the installation. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/dasdkadooverview.asp
0 Kudos
Message 6 of 8
(3,770 Views)
You might have to install MDAC : Microsoft Data Access Components (MDAC) 2.8 and also, you might want to reinstall Access with all the options enabled.
0 Kudos
Message 7 of 8
(3,768 Views)

I'm re-formatting my machine because I've tested the connection on another PC and it works well on that one.

Thanks to everibody for your precious and quick help.

 

0 Kudos
Message 8 of 8
(3,761 Views)