Migrate CMS 11 to 12: Should remap VisitorGroupMembershipModel

Fixed in

EPiServer.CMS.Core 12.15.0


Mar 30, 2023


May 22, 2023


CMS Core


Closed, Fixed and tested


VisitorGroupId property in VisitorGroupMembershipModel criterion model has been changed in CMS 12, and there is no remapping of the model in the database to reflect the change. This prevents the existing Visitor Group Membership groups from being modified and new ones to be created.

Error message:

The Type 'EPiServer.Personalization.VisitorGroups.Criteria.VisitorGroupMembershipModel' needs to be remapped in the Dynamic Data Store, see the Errors collection for more information.
Remapping can be done by applying the EPiServer.Data.Dynamic.EPiServerDataStoreAttribute attribute to the type,
setting its AutomaticallyRemapStore property to true and ensuring the <episerver.dataStore><dataStore> autoRemapStores attribute in web.config is set to true (or is not defined).