10-24-2007 02:15 AM
10-24-2007 02:25 AM
10-25-2007 10:44 AM
Parny,
Error 505 is most likely popping up because when you close that connection something else wants to use it. That something else could be another VI, a sub VI or possibly another program. You may want to dive down into your code and see what else could be accessing the connection. If you find something, the use of semaphores may be helpful. Finally, the code may work just fine if you do not handle the error terminals of the close connection.vi.
11-19-2012 02:36 AM - edited 11-19-2012 02:38 AM
Hi all,
According to me error 505 will be generated when the error generated during initial iterations will be overwritten by no error in later iterations.
For example,
In my database i am inserting record by record to database with one column in table as primary key. If initially i am inserting existing record & later if i will insert the new record than final error code will be ERROR 505. In the first iteration i am inserting the already present record then becasue of primary key it will generate error. Later if i insert the new record than no error will be generated. So after completion of insertion of all records error 505 will be generated.