November Happy Hour will be moved to Thursday December 5th.

Episerver Search and StoreInconsistencyException

Vote:
 

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

EPiServer.CMS.Core 10.10.4

EPiServer.CMS.Ui 10.12.1

EPiServer.CMS.Ui.Core 10.12.1

EpiServer.Search 8.1.0

#188888
Mar 06, 2018 12:45
Vote:
 

What data do you have in the DDS?

SELECT TOP 10 *
FROM [dbo].[tblBigTable]
WHERE StoreName='EPiServer.Shell.Search.SearchProviderSetting'

SELECT TOP 100 *
FROM [dbo].[tblBigTableStoreConfig]
JOIN [dbo].[tblBigTableStoreInfo] on tblBigTableStoreConfig.pkId=[tblBigTableStoreInfo].fkStoreId
WHERE StoreName = 'EPiServer.Shell.Search.SearchProviderSetting'

Is the same error present in all environments?

#188892
Mar 06, 2018 13:12
Vote:
 

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.

#188893
Mar 06, 2018 13:55
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.