06-15-2012 01:21 AM
Hello,
I have created a vi for accessing a udl file and put the data from the file to a table in front panel. but unfortunately when i run it its giving an error.
Error:
"
NI_Database_API.lvlib:DB Tools Open Connec (String).vi->NI_Database_API.lvlib:DB Tools Open Connec (Path).vi->TutorialGenerateDisplay 1.vi<ERR>ADO Error: 0x800300FB
Exception occured in Microsoft OLE DB Service Components: The file is not a valid compound file. in NI_Database_API.lvlib:DB Tools Open Connec (String).vi->NI_Database_API.lvlib:DB Tools Open Connec (Path).vi->TutorialGenerateDisplay 1.vi"
I have attached the block diagram..Is that the right way to acess database.
06-15-2012 01:52 AM
Check the database connection and the UDL file.
06-15-2012 01:56 AM
May i know what is wrong with the connection..??
06-15-2012 01:48 PM
The error you reported indicates that the wrong provider is specified in the UDL file.
http://digital.ni.com/public.nsf/websearch/1D5EB4DCBD13106486256B9D005E11B0?OpenDocument
http://digital.ni.com/public.nsf/allkb/5351D6732E4100B586256F700060CC17?OpenDocument