Wednesday, January 22, 2014

SharePoint 2013, Event id 6398 : Failed to run flow Microsoft.CustomDictionaryDeployment


שלום חברים,

היום נתקלתי בשגיאה קריטית שחזרה על עצמה כל 10 דקות בשרת אפליקציה בחוות SharePoint 2013.

השגיאה :
" The Execute method of job definition Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition
Failed to run flow Microsoft.CustomDictionaryDeployment. Correlation Id:" ". "


לאחר עיון ב-Logs הבחנתי בדבר הבא :

  • -          ישנו Timer Job  שמופעל ע"י SharePoint כל 10 דקות : Timer Job Search Custom Dictionaries Update for Search Application.
  • -          מתקבלת הודעה שה-Job מופעל ,           

Custom dictionary deployment timer job started. Search Component: OWSTIMER.EXE, SearchServiceApplication: {Search Service Application}
  • -          Found settings: Dictionaries last checked for changes ...

-          ואז מגיעה השגיאה :

Custom dictionary deployment timer job failed. Search Component: OWSTIMER.EXE, SearchServiceApplication: { Search Service Application }, Flow Name: Microsoft.CustomDictionaryDeployment, Correlation: { Search Service Application }, Failure: System.InvalidOperationException: Unable to locate Managed Metadata Proxy which is default keyword taxonomy for SSA b7e7bd96-394f-4f3d-a6be-eb8510fff487     at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.FindDefaultMMAProxy()     at Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition.GetChangedDictionaryTermSetIds(DateTime last Checked)     at Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition.DoExecute(CtsConnection connection)     at Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition.ExecuteTimerJob().
-          לבסוף השגיאה נרשמת כאירוע ביומן האירועים של מערכת ההפעלה. (Event ID 6398)

ניגשתי לממשק הניהול המרכזי של SharePoint ומשם ניווטתי את עצמי למסך השירותים בחווה (Manage Service Applications), לחצתי על השירות של Managed MetaData Service Applicaion וראיתי את ההודעה הבאה :

The Service Application being requested does not have a Connection associated with the Central Administration web application. To access the term management tool use Site Settings from a site configured with the appropriate Connection.

המשמעות היא שה-WebApplication לא מזהה את השירות הזה ב-Default Application Proxy Group.

מה שנותר לעשות הוא להגדיר ב-Scope הזה גם את ה- Managed MetaData Service Application כחבר בקבוצה :
-          גשו ל- Application Managment ולאחר מכן לחצו על הלינק " Configure service application associations "
-          לחצו על הלינק Default ותראו שהשירות אינו מסומן בתיבת סימון.
-          סמנו את השירות ושמרו את ההגדרה.
-          בצעו Recycle / IISRESET  
השגיאה נעלמה והשירות של Managed Metadata  עובד בצורה תקינה.

בהצלחה !
רון נס.


============================================================================================================================================================================================================================================================



Hello Friends,

Today I encountered a critical error repeated every 10 minutes on the application server  at the SharePoint 2013 Farm.

Error:

" The Execute method of job definition Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition
Failed to run flow Microsoft.CustomDictionaryDeployment. Correlation Id:" ". "

After reading the Logs I noticed the following:

- There is a Timer Job run by SharePoint every 10 minutes : "Timer Job Search Custom Dictionaries Update for Search Application ."

- I see a message that the Job is started,
"Custom dictionary deployment timer job started. Search Component: OWSTIMER.EXE, SearchServiceApplication: {Search Service Application{"

- Found settings : Dictionaries last checked for changes ...

- Then comes the error :

Custom dictionary deployment timer job failed. Search Component: OWSTIMER.EXE, SearchServiceApplication: {Search Service Application}, Flow Name: Microsoft.CustomDictionaryDeployment, Correlation: {Search Service Application}, Failure: System.InvalidOperationException: Unable to locate Managed Metadata Proxy which is default keyword taxonomy for SSA b7e7bd96 -394f-4f3d-a6be-eb8510fff487 at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.FindDefaultMMAProxy () at Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition.GetChangedDictionaryTermSetIds(DateTime Checked last ) at Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition.DoExecute(CtsConnection connection ) at Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition.ExecuteTimerJob().

- Finally, the error event is recorded in the event log of the operating system . (Event ID 6398 )

I browse to SharePoint Central Administration and then navigated myself to "Manage Service Applications", I clicked on the "Managed Metadata Service Application" and saw the following message:

The Service Application being requested does not have a Connection associated with the Central Administration web application

The error is because the proxy was created without being associated with a proxy group. The Central Admin site uses the Default Proxy Group. Go to Central Admin -> Application Management -> Configure service application associations -> click the “default” link in the Application Proxy Group column, it should show that “Managed Metadata Service 1 Proxy” is not checked. Check it and click OK.
Finally make a Recycle or iisreset and then go to Central Admin Manage Service Applications page again and click the link on this Metadata Service application, it should show up successfully and the event log will not display more 6398 events.

Good Luck :)
Ron Ness.

1 comment:

  1. Thank you Sr! Still saving SharePoint Admin tails in 2020!!!

    ReplyDelete