Hi,
BC16 OnPrem, when you open Customer, Vendor or Contact cards, you get a
Microsoft.Dynamics.Nav.Types.Exceptions.Encryption.NavEncryptionKeyNotFoundException
Kind of found a workaround which suppresses the error by disabling CDS on the CDS Connection Setup page.
I get the same exception when then trying to run DeleteEncryptionKey() from an upgrade codeunit in the OnInstallAppPerDatabase() trigger.
But if you run CreateEncryptionKey(), you get
Reason: Could not install the extension encryptionfix on tenant default due to the following error: Unable to create a new encryption key. An encryption key already exists.
Answers
Recovered the key file from a backup and everything was back to normal.
Still unclear as to how the file got deleted...
Ewald Venter