AnsweredAssumed Answered

Marshal.ReleaseComObject not clearing the vault connection

Question asked by M. nav on Mar 13, 2012

Hi i create a vault8 object  and use the LoginAuto function for login.

after login i browse for file on local disk and select a folder path in Vault and add the selected file to folder. after add i unlock the file. in finally section of try catch i release object



vault = null;



every time i do this a connection to database is left open which i can see in SQL activity window and slowly increase the size of application exe if too many connections are open.

if i close application all the open connections cleared from Activity monitor.

any help how i can dispose vault object properly so it close db connection.