LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

deploying database

I Have created a program that on the development machine the databases is working just fine. in my exe bulider I have included both the .mdb and .udl files and they are in the application folder where they are supposed to be but when I run a test and try to push out the data. it get an error saying that it can't find the udl.  what steps am I supposed to take to deploy a program that databases. 

 

 

Thanks Mark

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

Check your path to the files.  As a built exe, the Application Directory VI returns a different path than a VI in development mode.

aputman
0 Kudos
Message 2 of 4
(2,636 Views)

Yes You are right that it returns a different path although I am Sure of the Path it returns.  I have an indicator that tells me. Also I am using that relative path VI in multiple instances and only have problems with the database reference

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

I tend to build/use the connection string instead of using connection files for this reason.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 4 of 4
(2,592 Views)