We have just tried to install the SW SFTP Server on a Win10 (21H2) and Server 2016 (1607).
The installation was done as the local Administrator and are both fresh builds that have DotNet installed. (Windows\Micorosoft.NET\Framework\v4.0.30319), Installations completed successfully with no errors.
When opening the Application for the first time, we get an error "Cannot start service. You probably don't have enough privileges to perform the operation." which I assumed was normal as Administrator wouldn't have "log on as a service" rights by default.
Once we click 'ok' on the error we are presented with the Server Settings page so we added a user and clicked ok.
We set the Service startup to Automatic, left the Log On as Local System Account and tried to start it but we quickly get an error "Windows could not start the SolarWinds SFTP/SCP Server service on Local Computer. Error 1053: The service did not respond to the start or control request in a timely fashion.".
We have tried starting the service as Administrator (which automatically granted the Log on as a service right) but this gives the same error.
After quitting the app from the systray and relaunching it as administrator we still get the "You probably don't have enough privileges..." message even though we know the service right was given.
in desperation we tried running the SolarWindsSftpServer.exe directly from an elevated command prompt and received a popup shell with the following error;
Unhandled Exception: System.TypeInitializationException: The type initializer for 'SolarWinds.logging.Log' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'log4net, Version=22.214.171.124, Culture=Neutral, publicKeyToken=669e0ddf0bb1aa2a' or one of its dependencies. The system cannot find the file Specified.
--- End of inner exception stack trace ---
at SolarWinds.Logging.Log.Configure(String configFile)
at SolarWinds.Sftp.Service.Program.Main(String args)
Is there someone else out there having the same trouble and does anyone have a suggestion to help resolve this?
Thanks in advance.