10-07-2010 06:04 PM
Hi all.
I wrote this message because I'm not able to find a solution to the problem decribed above...
I developed a program that uses SQL Toolkit, on CVI 9. I access to a MS Access 97 database, using a ODBC connection (DSN=MyProgram).
The program works fine, on windows 7, and on windows XP (windows xp is the end-user operating system).
However, when I install the program on the end-user pc (windows xp), and after create the DSN user on the ODBC connections, I got an error when executing the program. The error refers to is not possible to connect the database (acrosss the ODBC connection).
As I said, on other differente machine, with windows xp, it works!!!!
I'm a little bit lost.Do I need some special component installed for making SQL Toolkit work fine???
The PC with XP where the application works, has the same applications instaled than the end-user PC.
I tried to install on the end-user pc the LabWindows CVI with SQL Toolkit, and I checked that when the connection to the DSN is tried, I get "Unknown error".
Some help will be very appreciate!!!!!!!
Solved! Go to Solution.
10-08-2010 04:33 AM
Hi again.
The connection sentence from SQL Toolkit that doesn't work is the following:
dbHandle = DBConnect ("DSN=Test");
This one, returns an error, with the asociated string "Unknown error".
Should be ADO troubles????. I tried to install MDAC 8.5 on the end-user PC (with XP), and the installation process said that the last revision was installed and there was not necesary to install it.
Thanks in advance!
10-08-2010 06:15 AM
10-09-2010 06:25 AM
Of course, I'll check, but I think the installation should copy this file.
I have checked the application on three differents PCs with XP and only fails on one of them, the most important....
I'll check what you say.
10-09-2010 02:40 PM
10-10-2010 03:39 PM
That was the reason. The file cvidb32.dll was not located on c:\windows\system32. I placed it manually on that location, and the application finally works!!!!
Some questions are now pending... I wonder why this dll file, after the installation process, is not installed correctly......
Thanks to all for your help.
Best regards,
Dani.