Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
13.2k views
in .NET FTP by (1.1k points)
receive this error all of a sudden:

Module: ThunderFileRouter

Procedure: ConnectAdminFTP

Error Message: Method not found: 'Void System.Security.Cryptography.KeyedHashAlgorithm.Finalize()'.

Error Source: edtFTPnetPRO

Error Target: a

Error Stack Trace: at et.a(cr A_0)
at am.a(BaseSocket A_0)
at am.g()
at EnterpriseDT.Net.ftp.Ssl.SSLFTPClient.Auth(SSLFTPSSLVersion sslVersion, Boolean secureDataChannels)
at EnterpriseDT.Net.ftp.Ssl.SSLFTPClient.Auth(SSLFTPSSLVersion sslVersion)
at EnterpriseDT.Net.ftp.SecureFTPConnection.SecureConnection()
at EnterpriseDT.Net.ftp.SecureFTPConnection.Connect()
at CLPThunderFileRouter.ThunderFileRouter.ConnectAdminFTP() in C:\Dotnet\Projects\CLPThunderFileRouter\CLPThunderFileRouter\ThunderFileRouter.vb:line 93


here is the debug log:

DEBUG [LicenseProperties] 26 Aug 2008 11:30:10.721 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 26 Aug 2008 11:30:10.721 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 26 Aug 2008 11:30:10.721 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 26 Aug 2008 11:30:10.721 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 26 Aug 2008 11:30:10.721 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 26 Aug 2008 11:30:10.721 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 26 Aug 2008 11:30:10.721 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 26 Aug 2008 11:30:10.721 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
INFO [LicenseProperties] 26 Aug 2008 11:30:13.706 : Licence expiry date: 12/31/9999
INFO [LicenseProperties] 26 Aug 2008 11:30:13.706 : Production license
DEBUG [FTPConnection] 26 Aug 2008 11:30:13.706 : Set LocalDirectory='C:\Dotnet\Projects\CLPThunderFileRouter\CLPThunderFileRouter\bin\Debug'
INFO [LicenseProperties] 26 Aug 2008 11:30:13.706 : Licence expiry date: 12/31/9999
INFO [LicenseProperties] 26 Aug 2008 11:30:13.706 : Production license
DEBUG [SSLFTPClient] 26 Aug 2008 11:30:13.706 : Connecting to xxxx
DEBUG [HostNameResolver] 26 Aug 2008 11:30:13.706 : xxxx resolved to xxxx
DEBUG [SSLFTPControlSocket] 26 Aug 2008 11:30:13.706 : waitOnShutdownSSL=True
DEBUG [ExFTPControlSocket] 26 Aug 2008 11:30:13.722 : Connecting directly to ftp-server xxxx
DEBUG [FTPControlSocket] 26 Aug 2008 11:30:13.722 : Setting socket timeout=120000
DEBUG [SecureSocket] 26 Aug 2008 11:30:13.722 : Set timeout=120000
DEBUG [SecureSocket] 26 Aug 2008 11:30:13.722 : Set timeout=120000
DEBUG [FTPControlSocket] 26 Aug 2008 11:30:13.722 : Command encoding=System.Text.ASCIIEncoding
DEBUG [ExFTPControlSocket] 26 Aug 2008 11:30:13.722 : Created control-socket: SocksContext=, ProxySettings=NoProxy, RemoteHost= xxxx, controlPort=21, timeout=120000
DEBUG [FTPControlSocket] 26 Aug 2008 11:30:13.722 : StrictReturnCodes=False
DEBUG [FTPControlSocket] 26 Aug 2008 11:30:13.722 : 220 Serv-U FTP Server v6.4 for WinSock ready...
DEBUG [SecureFTPConnection] 26 Aug 2008 11:30:13.722 : Changing local working directory to C:\Dotnet\Projects\CLPThunderFileRouter\CLPThunderFileRouter\bin\Debug
DEBUG [FTPControlSocket] 26 Aug 2008 11:30:13.722 : ---> AUTH TLS
DEBUG [FTPControlSocket] 26 Aug 2008 11:30:13.737 : 234 AUTH command OK. Initializing SSL connection.
DEBUG [SSLFTPControlSocket] 26 Aug 2008 11:30:13.737 : Beginning Ssl3, Tls1 handshake.
DEBUG [SocketController] 26 Aug 2008 11:30:13.753 : Processing hello
ERROR [SocketController] 26 Aug 2008 11:30:13.784 : OnReceive - caught exception - closing : System.MissingMethodException: Method not found: 'Void System.Security.Cryptography.KeyedHashAlgorithm.Finalize()'.
System.MissingMethodException: Method not found: 'Void System.Security.Cryptography.KeyedHashAlgorithm.Finalize()'.
at ft.a(HashAlgorithm A_0, Byte[] A_1, Byte[] A_2)
at ft..ctor(HashAlgorithm hash, Byte[] secret, Byte[] seed)
at fg.a(Byte[] A_0, Byte[] A_1, Byte[] A_2)
at fg..ctor(Byte[] secret, String label, Byte[] seed)
at ei.a(Byte[] A_0, Byte[] A_1, Byte[] A_2)
at bz.a(Byte[] A_0, Byte[] A_1, Byte[] A_2)
at dy.e(Byte[] A_0)
at cw.d(dx A_0)
at cw.a(dx A_0)
at dy.b(ga A_0)
at fm.a(Byte[] A_0, Int32 A_1, Int32 A_2)
at az.b(Byte[] A_0, Int32 A_1, Int32 A_2)
at az.c(Byte[] A_0, Int32 A_1, Int32 A_2)
at y.h(IAsyncResult A_0)
DEBUG [SocketController] 26 Aug 2008 11:30:13.784 : CloseConnection(e=Method not found: 'Void System.Security.Cryptography.KeyedHashAlgorithm.Finalize()'.)
DEBUG [SocketController] 26 Aug 2008 11:30:13.784 : Shut down socket
DEBUG [SocketController] 26 Aug 2008 11:30:13.784 : Closed socket
DEBUG [TransferBuffer] 26 Aug 2008 11:30:13.784 : Close() called when open
DEBUG [SecureSocket] 26 Aug 2008 11:30:13.784 : OnHandshakeComplete(False,Method not found: 'Void System.Security.Cryptography.KeyedHashAlgorithm.Finalize()'.)
ERROR [SecureSocket] 26 Aug 2008 11:30:13.784 : Exception during handshake: Method not found: 'Void System.Security.Cryptography.KeyedHashAlgorithm.Finalize()'.

10 Answers

0 votes
by (1.1k points)
i uninstalled 5.0.6, re-installed 5.0.5 and still have the issue.
0 votes
by (1.1k points)
i uninstalled .Net Framework 3.5 SP1 and still have the issue
0 votes
by (1.1k points)
Spent all day trying to resolve this and still no success. This application has been in production for over a year. it still runs on client desktops, it just throws this error on my desktop. I have tried re-installing different frameworks, version 5.0.5 and 5.0.6 of Eftp, same errors. The development version worked last week prior to upgrading to 5.0.6. I rolled back my pc to various restore points. Same error every time:

Message: Method not found: 'Void System.Security.Cryptography.KeyedHashAlgorithm.Finalize()'.

Source: edtFTPnetPRO

Stack Trace: at et.a(cr A_0)
at am.a(BaseSocket A_0)
at am.g()
at EnterpriseDT.Net.Ftp.Ssl.SSLFTPClient.Auth(SSLFTPSSLVersion sslVersion, Boolean secureDataChannels)
at EnterpriseDT.Net.Ftp.Ssl.SSLFTPClient.Auth(SSLFTPSSLVersion sslVersion)
at EnterpriseDT.Net.Ftp.SecureFTPConnection.SecureConnection()
at EnterpriseDT.Net.Ftp.SecureFTPConnection.Connect()
at CLPThunderFileRouter.ThunderFileRouter.ConnectAdminFTP() in C:\Dotnet\Projects\CLPThunderFileRouter\CLPThunderFileRouter\ThunderFileRouter.vb:line 93


trace file in first post.
0 votes
by (1.1k points)
i uninstalled all frameworks and reinstalled them using the info here:

http://support.microsoft.com/kb/923100

the method is now found

something messed up the framework
0 votes
by (161k points)
Interesting - we've not heard of this problem before. Thanks for posting the information.
0 votes
by (180 points)
We have upgraded all our server to .Net 3.5 SP1, and we have now this error on all the server.
And we cann't do the all uninstall/install of .Net framework.
We don't know what to do.
0 votes
by (161k points)
Please send an email to support with a stack trace and log file.
0 votes
by (161k points)
We've replicated this problem - it seems to be a problem with .NET 3.5 SP1.

We'll get a fix out ASAP.
0 votes
by (180 points)
The fix you send us works.
Thanks.
0 votes
by (161k points)
5.1.0 is now released with this fix (and a bunch of others).

Categories

...