Hi
Currently we have an issue where the following error when trying to create a SecureFTPConnection. This only happens when the code is being run as a Windows Service.
Error: [System.NullReferenceException] "Object reference not set to an instance of an object."
Source: edtFTPnetPRO
StackTrace:
at EnterpriseDT.Util.Debug.Logger.IsEnabledFor(Level level)
at EnterpriseDT.Util.Debug.Logger.Log(Level level, String message, Object[] args)
at EnterpriseDT.Util.Debug.Logger.Info(String message)
at EnterpriseDT.Util.License.LicenseProperties.CheckLicense(String clazz, EdtProduct[] requiredProduct)
at EnterpriseDT.Net.Ftp.SecureFTPConnection.CheckLicense()
at EnterpriseDT.Net.Ftp.SecureFTPConnection.Connect()
at <Custom Code>
Logging is configured in the config file as follows. But the error still occurs even if the config is removed.
<add key="edtftp.log.filepath" value="ftplog.txt"/>
<add key="edtftp.log.level" value="Information"/>
Thanks for any help.
Chris