FoxPro Programming
error decrypting passwords
After upgrading from West Wind Client Tools 7.07 to 7.29, when I try to decrypt a password I get this error. "Error #1429 Ole dispatch exception from wwdotnetbridge method WestWind.WebConnection.EncryptionUtils.DecryptString not found" This is the code
Parameters p_password,p_set
DO wwEncryption
o = CREATEOBJECT("wwEncryption")
lReturn=""
Do Case
Case Lower(p_set)=="set"
*returns the encrypted password
newValue=ALLTRIM(o.EncryptString(p_password,g_myValue))
If Not Empty(newValue)
lReturn= newValue
Endif
Case Lower(p_set)=="unset"
*returns the decrypted password
newValue=ALLTRIM(o.DecryptString(p_password,g_myValue))
If Not Empty(newValue)
lReturn=newValue
ENDIF
Case Lower(p_set)=="validate"
Endcase
Return lReturn

I copied the original wwwdotnetbridge.dll (7/1/2018) into the application folder and the error did not occur.
You need to make sure that both the PRG and library are synced. There are often changes in the way that .NET functions are called if they don't match up you can see errors like this as the .NET functions are not found.
The method is definitely in the new dll, so perhaps by not having a local copy you were picking up a copy from some unexpected path along your FoxPro path.
+++ Rick ---