ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Database error

Solved!
Go to solution

Hello,

 

While executing the program in debug mode, i could able to communicate to the database and retrirve the data, but when i build the application and run the same program I am getting the following error,

 

"Exception occured in Microsoft OLE DB provider forODBC drivers :[ORACLE][ODBC Oracle Driver][Oracle OCI]

ORA-06413:connection not open in Connect.VI

 

Error code - 2147467259

 

Any idea what could be the reason for connection not getting opened?

 

Thanks

0 Kudos
Message 1 of 4
(3,401 Views)
0 Kudos
Message 2 of 4
(3,380 Views)

Hey Christian_M

 

THis didn't help me, I have said that in debug mode program works perfectly fine, when i build executable and run the program, it doesnt work,

 

any other suggestions?

0 Kudos
Message 3 of 4
(3,369 Views)
Solution
Accepted by topic author cancancanopen
I got the solution, The database on which I am working on is of ver 1.0.1 i think, I need to include SQL connect, SQL disconnect, Fetch Query results, SQl query VI's in always include section while building the application.
0 Kudos
Message 4 of 4
(3,355 Views)