title: C# Runtime Exception
body: <p>I am working on C# program to get the users from A component called Cyber-Ark which stores encrypted data. When my code is running half way I am getting this exception and even if i catch all the exceptions i still get it.Is there any work around for this?</p>
  
  <pre><code>Unhandled Exception: System.Runtime.InteropServices.InvalidComObjectException: COM object that has been separated from its underlying RCW cannot be used.
     at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, Boolean&amp; pfNeedsRelease)
     at PAObjectsLib.PrivateArkClass.Term()
     at CyberArk.API.Objects.PrivateArk.Term()
     at CyberArk.API.Objects.PrivateArk.DoDispose(Boolean disposing)
     at CyberArk.API.Objects.CyberArkBase.Dispose()
     at Program.Main(String[] args)
  </code></pre>