While creating ftp user in websitepanel/dotnetpanel if you get error that account is created but you are not able to connect and getting error
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ArgumentException: Site with given name doesn't exist. at WebsitePanel.Providers.FTP.IIs70.SitesModuleService.GetSitePhysicalPath(String siteName, String virtualDirectory) at WebsitePanel.Providers.FTP.MsFTP.FillFtpAccountFromIis(FtpAccount ftpAccount) at WebsitePanel.Providers.FTP.MsFTP.GetAccount(String accountName) at WebsitePanel.Server.FTPServer.GetAccount(String accountName) --- End of inner exception stack trace --- at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at WebsitePanel.Providers.FTP.FTPServer.GetAccount(String accountName) at WebsitePanel.EnterpriseServer.FtpServerController.GetFtpAccount(Int32 itemId) at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at WebsitePanel.EnterpriseServer.esFtpServers.GetFtpAccount(Int32 itemId) at WebsitePanel.Portal.FtpAccountEditAccount.BindItem() |
Solution:
find FileZila Server config file located (in my example C:\Program Files (x86)\FileZilla Server\FileZilaServer.xml).
Open it. It contains data like this:
<FileZillaServer>
<Settings>
<Item name=”Admin port” type=”numeric”>14147</Item>
</Settings>
</FileZillaServer>
Add <Users> node:
<FileZillaServer>
<Users></Users>
<Settings>
<Item name=”Admin port” type=”numeric”>14147</Item>
</Settings>
</FileZillaServer>
Save config file, go back to control panel and recreate FTP accounts that failed before.
Thank you for posting this! Such a simple fix. Saved my day.
Hey – thanks for such a simple solution to such a big issue.
I spend a couple of hours before reaching here.. amazed to see it work instantly with a tiny patch after so much struggle.