Hi,
I'm trying to connect to a server using FTPExplicit. But when I try to connect to the server, I get this error : Couldn't acquire crypto service provider context (-2146893809). Can you please let me know what is wrong. The same code was working earlier.
 ' Instantiate SecureFTPConnection
        Dim ftpConnection As New EnterpriseDT.Net.Ftp.SecureFTPConnection
        ' setting server address and credentials
        ftpConnection.ServerAddress = "XXXXXX"
        ftpConnection.UserName = "XXXXX"
        ftpConnection.Password = "XXXXX"
	
        ' select FTPSExplicit
        ftpConnection.Protocol = EnterpriseDT.Net.Ftp.FileTransferProtocol.FTPSExplicit
        ftpConnection.ServerValidation = EnterpriseDT.Net.Ftp.SecureFTPServerValidationType.None
        ' connect to server
        ftpConnection.Connect()
Please note I used XXXXX in the place of serveraddress, username and password. Please email me and I can give you the actual server details.
Please respond at the earliest.
Thanks,
Elizabeth