IBM Verify

IBM Verify

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Receiving "Could not load file or assembly 'VMware.Binding.Wcf'" error during VMware credential heartbeat

  • 1.  Receiving "Could not load file or assembly 'VMware.Binding.Wcf'" error during VMware credential heartbeat

    Posted Thu December 15, 2022 10:34 PM
    I am running a trial version of IBM Security Verify Privilege Vault. I am trying to configure Privilege Vault to rotate VMware credentials. I'm finding the heartbeat is failing with the following error:
    ```
    Exception: Could not load file or assembly 'VMware.Binding.Wcf, Version=13.0.0.5029, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
    ```
    After a bit of troubleshooting, I was able to overcome the issue by manually installing PowerCLI v11.4.0 using the following instructions:

    Install PowerCLI Offline

    The Heartbeat is now working, yay! But, RPC is not. When I attempt an RPC I get the following error in the portal UI:
    ```
    Full name: ThycoticSystem
    Action: SECRETPASSWORDCHANGE
    Notes: Exception has been thrown by the target of an invocation.
    ```
    When looking at the DE server I am not seeing any errors in the Windows Event logs. When I look in the DE logs, I see the following error:
    ```
    2022-12-16 03:27:10,834 [CID:] [C:] [TID:PriorityScheduler Thread @ Normal] INFO Thycotic.DE.Feature.SS.PasswordChanging.Areas.SecretBasicChangePasswordConsumer - Got a basic change password request for Secret Id 161: - (null)
    2022-12-16 03:27:11,975 [CID:] [C:] [TID:PriorityScheduler Thread @ Normal] ERROR Thycotic.PasswordChangers.VMWare.VmWareBasicChangeInfo - VMWare unknown error: Exception has been thrown by the target of an invocation. - (null)
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: moRef
    at VMware.Vim.VimClientImpl.GetView(ManagedObjectReference moRef, String[] properties)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Thycotic.PasswordChangers.VMWare.VimClientWrappers.VimClientWrapper.UpdateUser(String usernameToChange, String newPassword)
    at Thycotic.PasswordChangers.VMWare.VmWareHelper.SetPassword(String host, String usernameToConnectWith, String passwordToConnectWith, String usernameToChange, String newPassword, Int32 port, TlsConfiguration tlsConfiguration)
    ```
    Any ideas on what I should do next to troubleshoot?

    ------------------------------
    Timothy
    ------------------------------


  • 2.  RE: Receiving "Could not load file or assembly 'VMware.Binding.Wcf'" error during VMware credential heartbeat

    Posted Wed January 18, 2023 09:18 AM
    So it seems as though RPC is limited to local accounts on vSphere hypervisors. You cannot rotate vCentre accounts.

    ------------------------------
    Timothy
    ------------------------------