Problems starting Universal.Server.exe v 1.2.1

I can´t start the universal server. It crashes with the following error:
Unhandled exception. System.Exception: Error while deserializing. A parameter cannot be found that matches parameter name ‘PowerShellVersion’.
at UniversalAutomation.PowerShellSerializer1.Deserialize(String script, IDatabase database) at UniversalAutomation.Services.UniversalConfigurationService.Read[T](Func2 includes)
at UniversalAutomation.Services.UniversalConfigurationService.SyncAsync()
at UniversalAutomation.StartupService.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
at Universal.Server.Program.Main(String[] args)

I have Powershell 7.0.2 installed.

I have probably done something wrong, but I don’t know what. Pleas help.

Kind regards
Peter

Can you grab a log from C:\ProgramData\PowerShellUniversal?

I’d like to see which file it’s failing to load.

Here is the log:

2020-06-18T10:10:05.0692320+02:00  [INF] User profile is available. Using '"C:\Users\ehlpet1202\AppData\Local\ASP.NET\DataProtection-Keys"' as key repository and Windows DPAPI to encrypt keys at rest. (7ac5e29c)
2020-06-18T10:10:07.5522767+02:00  [INF] Starting C:\Program Files\PowerShell\7\pwsh.exe with command line -NoProfile -NoExit -Command "& { [System.Reflection.Assembly]::LoadFrom('C:\Program Files (x86)\Universal\Host.dll') | Out-Null; [UniversalHost.AgentService]::StartSecurity(52889, 37260) }" (e5f66201)
2020-06-18T10:10:07.5523897+02:00  [INF] Starting job using Process. (4d0a5a43)
2020-06-18T10:10:10.5277366+02:00  [INF] Port set to 52890 (6050eace)
2020-06-18T10:10:10.5424667+02:00  [INF] Starting C:\Program Files\PowerShell\7\pwsh.exe with command line -NoProfile -NoExit -Command "& { [System.Reflection.Assembly]::LoadFrom('C:\Program Files (x86)\Universal\Host.dll') | Out-Null; [UniversalHost.AgentService]::StartApi(52892, 37260) }" (1f3b1598)
2020-06-18T10:10:10.5425127+02:00  [INF] Starting job using Process. (4d0a5a43)

Sorry for not responding earlier, Have been offline for a few days.
Peter