11-12-2019 10:14 AM
Hello!
I have a "DB Tools Close Connection" vi that is throwing an error 504. When I open the vi, there are notes. One of the notes says, "The Connection object is always closed and deleted, but if it had associated objects,
then report an error indicating that."
The 504 error means it has associated objects... What is an associated object? Thanks! - John
Solved! Go to Solution.
11-12-2019 10:57 AM
It means that you have created recordset objects (most likely for queries) on that connection that you didn't close explicitly before attempting to close the connection.
11-13-2019 08:08 AM
Thanks Rolf, Any suggestions on how to make this error go away? - Nathan
11-13-2019 08:34 AM
Let's see.....
How about closing those recordsets with the according "close recordset" function or whatever it is called, every time you are finished using such a recordset?
11-15-2019 06:26 AM
Hi Rolf,
I will export a section of code so that I can provide a zip file for your examination. I need a few days to complete. Thanks for your comments. - John
04-22-2020 01:05 AM
Hi Rolf,
I am using LabVIEW 2015 and I encountered same error. I found no function to close record set. Could you please post the solution for this?