here is the stack trace
ArgumentException: If a certificate is specified, it must have a private key.]
cv.a(k A_0)
av.c()
av.a(BaseSocket A_0, IPAddress A_1, Int32 A_2)
EnterpriseDT.Net.Ftp.FTPControlSocket.a(BaseSocket A_0, IPAddress A_1, Int32 A_2, Int32 A_3)
av..ctor(Boolean isTrial, Boolean isImplicitFTPS, SocksContext socksContext, k securityOptions, IPAddress remoteHost, Int32 controlPort, Int32 timeout, CompatibilityFlags compatFlags)
EnterpriseDT.Net.Ftp.Pro.ProFTPClient.Connect()
OK, I was just wondering how this exception could have been thrown from the CreateFromCER_PVK method, which is what I thought you said, but I see that it's thrown from the Connect method which makes a lot more sense. Unfortunately, this is not enough to allow me to solve the problem.
If it used to work, try to remember what could have changed since then:
* Has the certificate changed?* Has the code changed?* Have you got an old version of the code or certificate that you could try?* Did it work on the same machine?* Have you changed any Windows security settings?
Also, try to generate a new private key and certificate. If you still can't work it out, it'd be very useful if you could e-mail us the code segment causing the problem along with a private key and certificate that don't work (not your real ones of course).
This page has instructions on e-mailing support.
- Hans (EDT Support)[/list]