Is the VMRC not working anymore? trying to setup sessions to a VM hosted in a vsphere 6 environment i get this error when connecting:
" An unexpected error has occurred. Please check the execution log."
The application log revealed the following:
System.Management.Automation.RuntimeException: Connection to server failed! ---> System.Management.Automation.RuntimeException: Connection to server failed!
--- End of inner exception stack trace ---
at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.CoreInvoke[TOutput](IEnumerable input, PSDataCollection`1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.Invoke(IEnumerable input, PSInvocationSettings settings)
at Devolutions.RemoteDesktopManager.Managers.VMwarePowerCliManager.c30beddcb0066016f0f23f4dc5b2c534a(String c3a220d2de69182fed154548fdffe5991, String c4c707ece3170514f8504b161d5b38c17, String ceb81d1ee93f91e0bc57f34876c263863, String cdb56d050ed8bca6783a8b78e7037f3ce)
Hello,
We use the PowerCLI to clone an authentication ticket from the session that we establish to the server. If I understand the call stack correctly, that initial connection fails.
You can find the script that we are running on Troubleshooting VMWare's PowerCLI, Script B. There is the script, and an example use case.
Are you able to run that script?
Best regards,
Maurice
In fact, to identify the exact error, you can simply run the following, it should show an error in the PowerCLI window[color=rgb(0, 0, 0)][font=verdana]Connect-VIServer $($viServer) -User $userName -Password $password[/font][/color]
The error you see in RDM is the result of the line above NOT returning a connection.
Maurice