LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send data to SQL SERVER.

 Hi all..
 
 I'm having a problem with my application  after the test is complete I send the data to a SQL server
 using  "insert table example"   It's working but the problems appears when I make  the .exe file.  It
 shows me and error that can't open data base.  this error in on the exe file.  I run the  .llb and  the
 program runs OK.
 
 I don't know what I'm doing wrong when buildind the .exe file
 
 thanks
  Rlima,
Ing. Reynaldo Lima Villarreal
Ingenieria Electronica (I N G E L)
Reynosa, Tamps. México

Cel: +52 899 160-52-59
Email: reynaldolima@aol.com
0 Kudos
Message 1 of 3
(2,724 Views)

How do you connect to the database?  UDL file or ODBC?  Did you make sure to set up the settings on the target machine for the connection?  Did you follow the procedure listed in Chapter 6 of the Database Connectivity Toolkit User Manual for building EXEs?

 

0 Kudos
Message 2 of 3
(2,707 Views)

 Hi  Crystal.

Thanks for your help..

 I connect to teh DB using UDL file.   I'm pretty sure  I can connecto to the DB,  running my sequence

 it works but when i build the  .EXE.  I build the EXE   I don't have any error when i  build the exe, even

 i run the application but at the end when i send the data to the DB I get the error  that can't open the

 DB.  

 I will look to the manual,  maybe I'm missing some settings,

This is the first time I handle DB and SQL

Best Regards

 

Ing. Reynaldo Lima Villarreal
Ingenieria Electronica (I N G E L)
Reynosa, Tamps. México

Cel: +52 899 160-52-59
Email: reynaldolima@aol.com
0 Kudos
Message 3 of 3
(2,689 Views)