Sunday, July 1, 2012

Audience compilation status not idle

Hi Guys,

We had a situation recently in our 2010 server, the audience compilation job status is always compiling and not changed to idle. After I tried several ways to investigate the issue, there is no luck.

After I tried in Google, found the below information to solve the issue.


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



No comments: