Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems with Powershell API on 2027 Patch 3
#1
Hi,

I am currently testing version 2027 Patch3, I have installed this version with the NSIS installer, did not test the msi installer yet.

I have the following problem to connect to an environment via the powershell api:
Connect-RDEnvironment -Environment "<environmnent name>" -PassThrough
InitializeUser - Error: Could not load file or assembly 'System.Diagnostics.EventLog, Version=11.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
WARNING: Environment could not be connected. - Init pass-through failed

These are the results from checking the System.Diagnostics.Eventlog.dll:
[System.Reflection.AssemblyName]::GetAssemblyName("C:\Program Files\Rocket Remote Desktop 2027\System.Diagnostics.EventLog.dll") | Format-List *

Name                  : System.Diagnostics.EventLog
Version              : 11.0.0.0
CultureInfo          :
CultureName          :
CodeBase              :
EscapedCodeBase      :
ProcessorArchitecture : None
ContentType          : Default
Flags                : PublicKey
HashAlgorithm        : SHA1
VersionCompatibility  : SameMachine
KeyPair              :
FullName              : System.Diagnostics.EventLog, Version=11.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51

This is the installed powershell version:
$psversionTable

Name                          Value
----                          -----
PSVersion                      7.6.10
PSEdition                      Core
GitCommitId                    7.6.10
OS                            Microsoft Windows 10.0.26200
Platform                      Win32NT
PSCompatibleVersions          {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.4
SerializationVersion          1.1.0.1
WSManStackVersion              3.0

This are the install dotnet runtimes:
dotnet --list-runtimes
Microsoft.AspNetCore.App 8.0.34 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.29 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.34 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.29 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.34 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.15 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Can you please help me to resolve this issue?
Reply


Messages In This Thread
Problems with Powershell API on 2027 Patch 3 - by mint - Yesterday, 10:55 AM



Users browsing this thread: 1 Guest(s)