I’m having a licensing problem with Xceed FTP trial license in Windows Services environment. I generated a trial license key using the Component Licenser and enter this information in the OnStart procedure of my Windows Service. However, after installing the service and starts it, it generates exception regarding the invalid licensing.
Worked on both Webforms and Console apps. Have i entered the license at the wrong startup location in WinService?
Exception received: Xceed.Ftp.Licenser.LicenseKey must be set to a valid trial or registered license key before using this product. Please refer to the Licensing topic in the documentation for specific instructions on how to avoid this exception.
Code excerpts: Protected Overrides Sub OnStart(ByVal args() As String) … Xceed.Ftp.Licenser.LicenseKey = “(value generated by Component Licenser)” … End Sub
By the way, I suppose FileSystem license is bundled with the FTP license, rite? Appreciates any feedbacks regarding this.
Thanks and happy programming!
Best regards, CL
Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by Chee Leong (had 2510 views)