I just upgraded the FTP server to Windows 2016 and tried to change the provider to 113 (FTP 10.0). Once i try to access the Servers --> FTP settings page I hit this error:
Any ideas why it behaves this way? Thanks
Hello,
Normally that should work fine, did your previous provider ID been the FTP 8.0? (as that should work without issues). So if you only changed the ProviderID in the Services table for the old IIS FTP 8.0 provider to the new provider ID it should be happy.
Do note that it does require to have the FTP 10 dll in the SolidCP server (so make sure it's up2date version 1.1.2, not for example an older version 1.0.1)
Other then that it should be fine.
You can double check the event log to find a stack trace as to why it errors.
Hi Marco,
The previous provider was 8.0. Once I upgraded the server to 2016, the FTP8.0 provider also had problems.
I can confirm that the FTP.IIs100.dll is in the Web Server (which also hosts the FTP server)
If I look at the event logs I can see this:
[1/3/2017 9:03:51 PM] ERROR: 'Microsoft FTP Server 10.0' InitFeeds
System.InvalidCastException: Unable to cast object of type 'SolidCP.Providers.FTP.MsFTP100' to type 'SolidCP.Providers.Web.IWebServer'.
at SolidCP.Server.WebServer.InitFeeds(Int32 UserId, String[] feeds)
Hello,
Can you try manually reload all the SCPServer from http://installer.solidcp.com/Files/stable/SolidCP-Server.zip on the FTP server.
You will need to make sure you copy the password value from the web.config .
Kind Regards,
Trevor Robinson
Hi Trevor,
I did as per your suggestion but the error remains the same:
ERROR: ‘Microsoft FTP Server 10.0’ InitFeeds
System.InvalidCastException: Unable to cast object of type ‘SolidCP.Providers.FTP.MsFTP100’ to type ‘SolidCP.Providers.Web.IWebServer’.
at SolidCP.Server.WebServer.InitFeeds(Int32 UserId, String[] feeds)
Is there anything i can do to narrow down the problem? Like debug mode or something?