SaaS CMS has officially launched! Learn more now.

Mediachase_ECF50_MDP_Key issue




I am currently working on one old commerce project, there is a called customer.SaveChanges() - customer is an instance of CustomerContact object, it will causse the program throw the following exception, is it an known issue that has been fixed?

"Please create a master key in the database or open the master key in the session, xxxx"

I found the following version number from commerce header section, but not able to locate it from page, can anyone tell me which version of commerce framework I am currently using?

Product Version: 5.2 (build: 628)
License: ECF G5 Deployment (EpiServer)

Apr 02, 2014 13:12

Do you have any meta fields that have the "Use Encryption" checkbox checked?

Apr 02, 2014 13:33

I am a newbie to Commerce, can you tell me how can I easily which field have this enabled?

Apr 02, 2014 14:10

I also follow this article to add the key, but when i test it, the error is still there.

Apr 02, 2014 14:13

On the commerce manager site in
Administration > Catalog System > MetaFields and Administration > OrderSystem > MetaFields
take a look at all the metafields

Do any have any "Use Encryption" boxes checked ?

Apr 02, 2014 14:17

Hi Paul


Thanks for your quick reply. I check all the string properties, none of them have that option enabled.

Apr 02, 2014 14:23

I also did search the [MetaField] table isencrypted column, all fields value are zero 

Apr 02, 2014 14:31

Any suggestion Paul?

Apr 02, 2014 14:46

Here is some info we had gathered for a similar issue, if this doesn't help maybe it is best to create a support case with episerver?


moving the DB from one environment to another the metadata for either the master key (DBMK) or the certificate got somehow corrupted, or rather out of sync. Please have a look at below links for in details about solution for this issue:

Apr 02, 2014 15:12

The fact is I didn't use any encryption for any of the meta fields, is it possible to bypass this check?

Apr 02, 2014 15:26
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.