I guess I made a mistake by using the oClientApp.RemoveVaultConnection ("My Vault", true); now, I can not connect to "My Vault" anymore, these are the messages displayed:
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in WindowsApplication2.exe
Additional information: Registry key is missing. The key is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\8.0.2856.0\Client\MFClient\Vaults\My Vault\.
CoMFilesClientApplication.cpp, 165, Registry key is missing. The key is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\8.0.2856.0\Client\MFClient\Vaults\My Vault\. (0x800434BD)
VaultHelper.cpp, 453, Registry key is missing. The key is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\8.0.2856.0\Client\MFClient\Vaults\My Vault\. (0x800434BD)
VaultHelper.cpp, 336, Registry key is missing. The key is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\8.0.2856.0\Client\MFClient\Vaults\My Vault\. (0x800434BD)
RegistryHelper.cpp, 1510, Registry key is missing. The key is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\8.0.2856.0\Client\MFClient\Vaults\My Vault\. (0x800434BD)
RegistryHelper.cpp, 1405, Registry key is missing. The key is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\8.0.2856.0\Client\MFClient\Vaults\My Vault\. (0x800434BD)
(M-Files 8.0.2856.0)
(0124)
How do I do to registering again "My Vault" into registry Key.
Thanks for your help.
Regards.