We have a customer which has the following problem with Episerver Search:
Every time when they are searching for a page in Edit mode (using the search field on the left hand side), they receive the following error:
EPiServer.Data.Dynamic.StoreInconsistencyException: The Type 'EPiServer.Shell.Search.SearchProviderSetting' needs to be remapped in the Dynamic Data Store, see the Errors collection for more information.
The proposed solution is to apply the EPiServer.Data.Dynamic.EPiServerDataStoreAttribute attribute to the type.
How do we do this since it’s an EPiserver object?
Is there any other way to solve the problem, for instance removing all objects from the DDS?
They are running
What data do you have in the DDS?
SELECT TOP 10 *
SELECT TOP 100 *
JOIN [dbo].[tblBigTableStoreInfo] on tblBigTableStoreConfig.pkId=[tblBigTableStoreInfo].fkStoreId
WHERE StoreName = 'EPiServer.Shell.Search.SearchProviderSetting'
Is the same error present in all environments?
It was present in all environments. The only data present was three rows in the second query.
We decided to make a custom job that by code tries to do the remap on all. The error is now gone and they decided that was good enough.