If you are not using encryption at all, then EncryptionSupport.sql is quite ... harmless. If you ran it then it should not cause trouble to you.
In case you want more "pure" solution, you can run this (remember to back up and proceed with caution)
UPDATE dbo.AzureCompatible SET AzureCompatible = 1
Btw, upgrading from 8.17 to 12.8 is a big improvement and I'm happy you are doing it. Next step, please keep your site up to date!
If I set AzureCompatible to 1, can it affects something in our commerce site or is it affecting only the migration?
I saw the certificate on the SQL server has an expiry date of 1 year, do we need to renew it every year?
Hi,
In our migration from Commerce 8.17.0 to 12.8.0, we got an error in the "Migrating table 'CatalogNodeEx_Brands'" step:
Migrates published Catalog Content has failed with exception 'System.Data.SqlClient.SqlException (0x80131904): Cannot find the symmetric key 'Mediachase_ECF50_MDP_Key', because it does not exist or you do not have permission. Cannot find the symmetric key 'Mediachase_ECF50_MDP_Key', because it does not exist or you do not have permission
I've found out that we had to run the EncryptionSupport.sql to fix the issue but we were wondering why we had to create the certificate and all if we don't use encryption in EpiServer.
It seems that the CatalogContentProperty_Migrate stored proc opens the key if we're not AzureCompatible:
BEGIN
IF dbo.mdpfn_sys_IsAzureCompatible() = 0 -- Fields will be encrypted only when only when DB does not support Azure
BEGIN
--update encrypted field: support only LongString field
EXEC mdpsp_sys_OpenSymmetricKey
Is there a way to migrate without having to create the key and then manage it or now we have to do it?