window-server

Loading WinSCP in PowerShell - Could not load file or assembly - This assembly is built by a runtime newer than the currently loaded runtime

泪湿孤枕 提交于 2020-01-13 06:38:07
问题 Error Message: Add-Type : Could not load file or assembly 'file:///D:\WinSCP-5.15.2-Automation\WinSCPnet.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. I placed WinSCP.dll same folder together with WinSCP.exe** I run PowerShell v2.0. The problem exists in the error message The script line that causes the problem looks as following: #Load WinSCP .NET assembly Add-Type -Path "C:\users\Desktop\WinSCPnet.dll" This

HTTP Error 502.5 in .NET core 2.1.3 on window server 2016

北慕城南 提交于 2019-12-20 03:18:01
问题 I Install .NET core version 2.1.3 for my new computer run window server 2016 OS. I hosted in IIS 10. But it have Error 502 HTTP Error 502.5 - Process Failure Common causes of this issue: The application process failed to start The application process started but then stopped The application process started but failed to listen on the configured port This is my snippet for web.config <?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <handlers> <add name="aspNetCore"