LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Base run from EXE

Hello! I have next trouble with read DB from compiled EXE.

In case of read DB not from compiled programm everything is OK. But after compile programm, CONNECT is OK, but SELECT is Error.

In what may be the problem?

 

Error code "-2146824584"

NI_Database_API.lvlib:Conn Execute.vi->NI_Database_API.lvlib : DB Tools Select Data.vi->TestsqlEXE.vi<ERR>ADO Error: 0x800A0E78
Exception occured in ADODB.Connection: Operace nenн povolena, pokud je objekt uzavoen.Help Path is C:\WINDOWS\HELP\ADO270.CHM and context 1240653 in NI_Database_API.lvlib:Conn Execute.vi->NI_Database_API.lvlib : DB Tools Select Data.vi->TestsqlEXE.vi

 

0 Kudos
Message 1 of 4
(2,687 Views)

Hi Kistyuk_Dmytro,

 

In addition to the normal steps for building LabVIEW executables, you need to include several support files in the build for your stand-alone database connectivity application to function properly.

 

Please refer to this link.

 

Best,

 

Carmen C.

 

0 Kudos
Message 2 of 4
(2,646 Views)

The information in that link is obsolete.

0 Kudos
Message 3 of 4
(2,638 Views)

Post your VI 

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 4 of 4
(2,625 Views)