SharePoint 2010 : Audience Compilation Status is Compiling
We noticed that "Audience Compilation Status is Compiling" and doesn't change back to Idle or doesn't show up as Error.
Note: When we attempt to compile Audience manually, we get following error
"ORGLE_Job_Start: job cancelled since another audience calculation job is in progress"
Solution:
To get the Audience Compilation Status from Compiling to Idle we executed following steps
Open SharePoint Management Shell
Note: Run as administrator
Execute:
$runjob=[Microsoft.Office.Server.Audience.AudienceJob]::RunAudienceJob($args);
From the output copy the Application ID of the respective User Profile Service Application
For e.g., f4c2b7e2-ce7b-465d-868f-66164af37013
The Audience Compilation is preceded by following executable: AudienceJob.exe and we can force stop or start the compilation using PowerShell.
To stop execute:
Audiencejob.exe f4c2b7e2-ce7b-465d-868f-66164af37013 0
Note: Application ID and 0 or 1 indicates Stop or Start
After we successfully stopped the audience job we then started a full compilation executing following
Audiencejob.exe f4c2b7e2-ce7b-465d-868f-66164af37013 1
Once we execute the above command the audiences will compile successfully.
Comments
Anonymous
January 01, 2003
Thanks Sushant - that worked for me!Anonymous
January 01, 2003
Nice Post, helped me to solve issueAnonymous
January 01, 2003
Nice Post, helped me to solve issueAnonymous
April 22, 2014
EXCELLENT ! Great fix. Straight to the point and very helpful Thanks !Anonymous
October 22, 2015
Thanks Much !!!!