none
SharePoint 2010 audience compliance issue RRS feed

  • Question

  • Hi all

    when run a powershell command for compling the audience timer job(audience.exe xxxxxx 0/1) we receive the following error

    ORGLE_Job_End =>close down the job, Application id=xxxx xxx xxx

    Can't log into SQL, site=xxx xxx,  exception error=object not set to instance of an object.

    can you provide your suggestion on this ?


    Thanks Mohan Periyasamy
    Thursday, January 26, 2012 10:15 AM

Answers

  • Hi,

    To get the Audience Compilation Status from Compiling to Idle, please execute the 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 you 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 you successfully stop the audience job you then start a full compilation executing following

    Audiencejob.exe f4c2b7e2-ce7b-465d-868f-66164af37013 1

    Thanks,

    Rock Wang


    Thursday, January 26, 2012 10:42 AM
  • Thanks

    yes, we execute the same power shell script, i received the  following error messsage  

    ORGLE_Job_End =>close down the job, Application id=xxxx xxx xxx

    Can't log into SQL, site=xxx xxx,  exception error=object not set to instance of an object.

     

    any suggestion


    Thanks Mohan Periyasamy
    • Marked as answer by David Kenneth Wednesday, February 8, 2012 6:28 AM
    Thursday, January 26, 2012 10:45 AM
  • Hi,

    Please ensure you are a member of the Farm Administrators group.

    In addition, check if you have the right permission on SharePoint databse, finally, make sure you can connect to your SQL database.

    http://technet.microsoft.com/en-us/library/cc678863.aspx

    Or you can complie the audience from CA:

    http://technet.microsoft.com/en-us/library/cc263278.aspx

    Thanks,

    Rock Wang


    Rock Wang TechNet Community Support
    • Marked as answer by Seven M Thursday, February 2, 2012 8:47 AM
    Thursday, January 26, 2012 11:26 AM
  • The issue is Fixed..i login into Farm admin account and ran the script.

     


    Thanks Mohan Periyasamy

    • Edited by David Kenneth Wednesday, February 1, 2012 9:34 PM update
    • Marked as answer by Seven M Thursday, February 2, 2012 8:47 AM
    • Unmarked as answer by David Kenneth Monday, February 13, 2012 3:54 AM
    • Marked as answer by David Kenneth Monday, February 13, 2012 3:54 AM
    Thursday, January 26, 2012 4:38 PM

All replies

  • Hi,

    To get the Audience Compilation Status from Compiling to Idle, please execute the 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 you 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 you successfully stop the audience job you then start a full compilation executing following

    Audiencejob.exe f4c2b7e2-ce7b-465d-868f-66164af37013 1

    Thanks,

    Rock Wang


    Thursday, January 26, 2012 10:42 AM
  • Thanks

    yes, we execute the same power shell script, i received the  following error messsage  

    ORGLE_Job_End =>close down the job, Application id=xxxx xxx xxx

    Can't log into SQL, site=xxx xxx,  exception error=object not set to instance of an object.

     

    any suggestion


    Thanks Mohan Periyasamy
    • Marked as answer by David Kenneth Wednesday, February 8, 2012 6:28 AM
    Thursday, January 26, 2012 10:45 AM
  • Hi,

    Please ensure you are a member of the Farm Administrators group.

    In addition, check if you have the right permission on SharePoint databse, finally, make sure you can connect to your SQL database.

    http://technet.microsoft.com/en-us/library/cc678863.aspx

    Or you can complie the audience from CA:

    http://technet.microsoft.com/en-us/library/cc263278.aspx

    Thanks,

    Rock Wang


    Rock Wang TechNet Community Support
    • Marked as answer by Seven M Thursday, February 2, 2012 8:47 AM
    Thursday, January 26, 2012 11:26 AM
  • The issue is Fixed..i login into Farm admin account and ran the script.

     


    Thanks Mohan Periyasamy

    • Edited by David Kenneth Wednesday, February 1, 2012 9:34 PM update
    • Marked as answer by Seven M Thursday, February 2, 2012 8:47 AM
    • Unmarked as answer by David Kenneth Monday, February 13, 2012 3:54 AM
    • Marked as answer by David Kenneth Monday, February 13, 2012 3:54 AM
    Thursday, January 26, 2012 4:38 PM