I have SP2019 farm (v. 16.0.10366.12106) where all roles exept SQL are on the same server. I get two errors every 10 or 20 minutes minutes.
Every 10 minutes:
- The Execute method of job definition Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition threw an exception. More information is included below.
Failed to run flow Microsoft.CustomDictionaryDeployment.
Every 20 minutes:
2. The Execute method of job definition Microsoft.Office.Server.Search.Administration.QueryClassificationDictionaryUpdateTimerJobDefinition threw an exception. More information is included below.
Failed to run flow Microsoft.QueryClassificationDictionaryCompilationFlow.
I see also two timer jobs which fail at the same time:
- Query Classification Dictionary Update for Search Application Search Service Application. (Failed to run flow Microsoft.QueryClassificationDictionaryCompilationFlow)
- Search Custom Dictionaries Update (Failed to run flow Microsoft.CustomDictionaryDeployment.)
ULS logs:
Custom dictionary deployment timer job failed. SearchComponent: OWSTIMER.EXE, SearchServiceApplication: {94869140-9f09-4397-a7ac-20804119d25f}, FlowName: Microsoft.CustomDictionaryDeployment, CorrelationId: {bda8819f-238a-e0ae-6058-c4efc9cd8ffb}, Failure: System.InvalidOperationException: Failed to run flow Microsoft.CustomDictionaryDeployment. Correlation Id: 72b8ec58-ad74-4268-a742-437e043a59bc. at Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition.DoExecute(CtsConnection connection) at Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition.ExecuteTimerJob(). bda8819f-238a-e0ae-6058-c4efc9cd8ffb
Custom dictionary deployment timer job failed. SearchComponent: OWSTIMER.EXE, SearchServiceApplication: {94869140-9f09-4397-a7ac-20804119d25f}, FlowName: Microsoft.CustomDictionaryDeployment, CorrelationId: {bda8819f-238a-e0ae-6058-c4efc9cd8ffb}, Failure: System.InvalidOperationException: Failed to run flow Microsoft.CustomDictionaryDeployment. Correlation Id: 72b8ec58-ad74-4268-a742-437e043a59bc. at Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition.DoExecute(CtsConnection connection) at Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition.ExecuteTimerJob(). bda8819f-238a-e0ae-6058-c4efc9cd8ffb
The Execute method of job definition Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition (ID 16375a30-4ccb-4bda-af64-689726b4c340) threw an exception. More information is included below. Failed to run flow Microsoft.CustomDictionaryDeployment. Correlation Id: bda8819f-238a-e0ae-6058-c4efc9cd8ffb.. (Correlation=bda8819f-238a-e0ae-6058-c4efc9cd8ffb) bda8819f-238a-e0ae-6058-c4efc9cd8ffb
The Execute method of job definition Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition (ID 16375a30-4ccb-4bda-af64-689726b4c340) threw an exception. More information is included below. Failed to run flow Microsoft.CustomDictionaryDeployment. Correlation Id: bda8819f-238a-e0ae-6058-c4efc9cd8ffb.. (Correlation=bda8819f-238a-e0ae-6058-c4efc9cd8ffb) bda8819f-238a-e0ae-6058-c4efc9cd8ffb
The Execute method of job definition Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition (ID 16375a30-4ccb-4bda-af64-689726b4c340) threw an exception. More information is included below. Failed to run flow Microsoft.CustomDictionaryDeployment. Correlation Id: bda8819f-238a-e0ae-6058-c4efc9cd8ffb.. (Correlation=bda8819f-238a-e0ae-6058-c4efc9cd8ffb) bda8819f-238a-e0ae-6058-c4efc9cd8ffb
Exception stack trace: at Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition.ExecuteTimerJob() at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result) bda8819f-238a-e0ae-6058-c4efc9cd8ffb
ULS logs for ID 72b8ec58-ad74-4268-a742-437e043a59bc from the previou ULS log:
Dictionary deployment failed. SearchComponent: Content1-94869140-9f09-4397-a7ac-20804119d25f, CorrelationId: 72b8ec58-ad74-4268-a742-437e043a59bc, SearchServiceApplication: {00000000-0000-0000-0000-000000000000}, DictionaryName: Microsoft.UserDictionaries.EntityExtraction.Companies.Inclusions, Component:DictionaryRepositoryWriter, FailureMessage: error CS1606: Assembly signing failed; output may not be signed -- Error signing assembly -- The process cannot access the file because it is being used by another process. 72b8ec58-ad74-4268-a742-437e043a59bc
Dictionary deployment failed. SearchComponent: Content1-94869140-9f09-4397-a7ac-20804119d25f, CorrelationId: 72b8ec58-ad74-4268-a742-437e043a59bc, SearchServiceApplication: {00000000-0000-0000-0000-000000000000}, DictionaryName: Microsoft.UserDictionaries.EntityExtraction.Companies.Inclusions, Component:DictionaryRepositoryWriter, FailureMessage: error CS1606: Assembly signing failed; output may not be signed -- Error signing assembly -- The process cannot access the file because it is being used by another process. 72b8ec58-ad74-4268-a742-437e043a59bc
Dictionary deployment failed. SearchComponent: OWSTIMER.EXE, CorrelationId: 72b8ec58-ad74-4268-a742-437e043a59bc, SearchServiceApplication: {94869140-9f09-4397-a7ac-20804119d25f}, DictionaryName: Microsoft.UserDictionaries.EntityExtraction.Companies.Inclusions, Component:FlowExecution, FailureMessage: Deployment (flow:Microsoft.CustomDictionaryDeployment) for custom dictionary c866ca65-f095-4a16-9249-028d500f7703 did not complete successfully. Flow execution state was: Failed. Failure: Evaluation failure. An evaluation thread threw an exception. (Exception type: Microsoft.Ceres.Evaluation.DataModel.EvaluationException. Exception message: Evaluation failed in operator RepoWriter of type DictionaryRepositoryWriter), Cause: Microsoft.Ceres.ContentEngine.Services.ContentIntegrationEngine.FailCauseException: Evaluation failed in operator RepoWriter of t...
Custom dictionary deployment timer job failed. SearchComponent: OWSTIMER.EXE, SearchServiceApplication: {94869140-9f09-4397-a7ac-20804119d25f}, FlowName: Microsoft.CustomDictionaryDeployment, CorrelationId: {bda8819f-238a-e0ae-6058-c4efc9cd8ffb}, Failure: System.InvalidOperationException: Failed to run flow Microsoft.CustomDictionaryDeployment. Correlation Id: 72b8ec58-ad74-4268-a742-437e043a59bc. at Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition.DoExecute(CtsConnection connection) at Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition.ExecuteTimerJob(). bda8819f-238a-e0ae-6058-c4efc9cd8ffb
To fix this I:
- Confirmed that the Managed Metadata Service Application, "This service application is the default storage location for keywords" and "This service application is the default storage location for column specific term sets" are checked.
- Confirmed that search service account has full access to the Managed Metadata Service Application.
- Reset the Index and do a full crawl.
- Recreated Managed Metadata service.
- Re-run the configuration wizard on the server.
- Restarted server few times.
Unfortunately all these steps did not help.
Search service works fine, all components are healthy.
Managed metadata also works fine.