Web Connection
Error calling encryption
Gravatar is a globally recognized avatar based on your email address. Error calling encryption
  Eddie Caldwell
  All
  Aug 4, 2017 @ 01:31pm

6.15 is working fine on my local machine, but when I rolled it out to the live server, I get this error:

OLE IDispatch exception code 0 from wwDotNetBridge: Method "Westwind.WebConnection.EncryptionUtils.ComputeHash" not found....

Here is my code that is using the encryption:

set procedure to wwencryption   addi
set procedure to wwdotnetbridge addi
DO wwDotnetBridge
InitializeDotnetVersion("V4")
if type([oEnc])<>[O]
	oEnc		= create([wwencryption])
	endif
cHash= oEnc.ComputeHash(padr(cPassword,10),[SHA512],cSalt)

I guessed that I didn't copy the latest version of wwdotnetbridge.dll, wwdotnetsupport.dll or some other dll, but they seem to be correct. Any thoughts would be greatly appreciated.

Eddie

Gravatar is a globally recognized avatar based on your email address. re: Error calling encryption
  Eddie Caldwell
  Rick Strahl
  Aug 4, 2017 @ 03:14pm

Right again Rick! The new DLL had the same date as the old one is why I thought it was the same. But it was a different size.

Thanks!

Gravatar is a globally recognized avatar based on your email address. re: Error calling encryption
  Eddie Caldwell
  Eddie Caldwell
  Aug 4, 2017 @ 04:40pm

Correction: The date on the files you send are correct. The programs I use for git messed up the datetime stamp.

© 1996-2017