07-06-2012 11:54 PM
My system is windows xp, used the labwindows cvi8.5 and sql tool kit, and the data base is access which format is *.mdb. I aleardy setup the connect in ODBC, and running correct in other system, but in the computer couldn't running.
As I complier the program which is show the error "
NON-FATAL RUN-TIME ERROR: "databasesample.c", line 22, col 12, thread id 0x00002304: Function DBConnect: (return value == -10 [0xfffffff6]). Native error code -2146824582 0x800a0e7a ADODB.Connection: 找不到提供者。它可能未被正確安裝。"
The error message is show the code : "hdbc = DBConnect("DSN=client");" have some problem.
helps for me, thanks.
Solved! Go to Solution.
07-08-2012 08:36 PM - edited 07-08-2012 08:36 PM
Hi
Are you referencing the shipping LabWindows/CVI example, or just programmed by your own idea?
Could you please describe more details about how it work on another computer instead of the current one?
If possible, run the shipping example first and then we'll find out more details regard the error message.
Thank you
07-10-2012 04:15 AM
Hi
Thanks first.
I also used the example in the sql20 of cvi sql tools which is show the attachment 1.bmp and 2.bmp, but it couldn't exact running.
I am check setup in the ODBC, it should be correct because I used the same setup about the ODBC in another computer.
So, I am very confuse about this problem.
thank you help.
07-10-2012 10:33 PM
Hi
I didn't see any attached image. Could you please post them again?
Thanks
07-11-2012 12:26 AM
hi,
I am very sorry, I re-upload the picture again.
07-11-2012 12:45 AM
Hi,
Please troubleshoot the error message according to the following document.
http://digital.ni.com/public.nsf/allkb/A23525E4DDABF00B86256A940071D9A6
Thank you
07-11-2012 07:17 PM
Hi,
Thank you help. I already reinstall the operator system, cvi and sql tools. Then the program is right to running. I think that the problem of sql program is my system error.