You receive a "The audience cannot be compiled, because the account used to compile audiences does not have the proper rights" error message when you try to compile audiences in SharePoint Portal Server 2003 (893694)



The information in this article applies to:

  • Microsoft Office SharePoint Portal Server 2003

SYMPTOMS

When you try to compile audiences in Microsoft Office SharePoint Portal Server 2003, you receive the following error message on the Manage Audiences page:
The audience cannot be compiled, because the account used to compile audiences does not have the proper rights. Change the rights for this account on the Specify Compilation Schedule page so that it has read and write access to the user profile database.
You follow the instructions in the error message, and you connect to the Specify Compilation Schedule page. However, there is no option on the Specify Compilation Schedule page that you can use to change permissions for user accounts.

CAUSE

This issue may occur if one of the following conditions is true.

Condition 1

This issue occurs if the following conditions are true:
  • You schedule a task to compile an audience, and you modify the parameters that are used by the Audiencejob.vbs script.
  • The Run line or the Start in line of the scheduled task contains an incorrect parameter.
The error message that you receive when you try to compile audiences contains incorrect text. You cannot use the Specify Compilation Schedule page to change permissions for user accounts. You can only use the Specify Compilation Schedule page as follows:
  • To enable or to disable scheduling
  • To specify when you want to compile audiences
  • To specify how frequently you want to compile audiences

Condition 2

This issue occurs if the user account that you are using to compile audiences does not have sufficient permissions to perform the operation.

WORKAROUND

To work around this issue, use one of the following methods.

Method 1

If you determine that the first condition is the cause, delete the scheduled task. Then, re-create the task. To do this, follow these steps:
  1. Delete the scheduled task. To do this, follow these steps:
    1. Click Start, click Run, type control schedtasks in the Open box, and then click OK.
    2. Right-click the scheduled task that you want to delete, and then click Delete.
    3. Click Yes.
  2. Re-create the scheduled task. To do this, follow these steps:
    1. Connect to the portal site, and then click Site Settings.
    2. Under User Profile, Audiences, and Personal Sites on the Site Settings page, click Manage audiences.
    3. Click Specify compilation schedule on the Manage Audiences page.
    4. Click to select the Enable scheduling check box, specify the schedule that you want for the task, and then click OK.

Method 2

If you determine that the second condition is the cause, reenter the user account information for the user accounts that are listed on the Configure Server Farm Settings page of SharePoint Portal Server Central Administration. To do this, follow these steps:
  1. Reenter the user account information for the user accounts that are listed on the Configure Server Farm Settings page of SharePoint Portal Server Central Administration. To do this, follow these steps:
    1. Start SharePoint Portal Server Central Administration.
    2. Under Server Configuration on the SharePoint Portal Server Central Administration for ServerName page, click Configure Server Farm Account Settings.
    3. Reenter the user account information for the user accounts that are listed on the Configure Server Farm Account Settings page.
  2. Restart Microsoft Internet Information Services (IIS) 6.0. To do this, click Start, click Run, type iisreset in the Open box, and then click OK.

Method 3

If you determine that the second condition is the cause, and if Method 2 does not resolve the issue, the domain policy may not provide the account with the "Adjust memory quota for a process" and "Replace the process level token rights" user rights. To correct this, follow these steps:
  1. Click Start , point to Settings , and then click Control Panel .
  2. Double-click Administrative Tools , and then double-click Local Security Policy .
  3. Double-click Security Settings , double-click Local Policies , and then double-click User Rights Assignment .
  4. Double-click Adjust memory quota for a process.
  5. Click Add User or Group , and then select the service account.
  6. Click OK two times.
  7. To confirm that the changes have taken effect locally, close the Local Security Policy window and then open it again. The newly assigned rights should appear under the Effective Settings column.
  8. Repeat steps 4 through 7. However, double-click Replace a process level token in step 4 instead of double-clicking Adjust memory quota for a process.
Note If the Local Policy is unavailable, check the Domain Policy on the Domain Controller.

MORE INFORMATION

For more information about how to work with audiences in SharePoint Portal Server 2003, see the "Managing Audiences" topic in the "Administration" chapter of the Microsoft Office SharePoint Portal Server 2003 Administrator's Guide. The Microsoft Office SharePoint Portal Server 2003 Administrator's Guide (Administrator's Help.chm) is located in the Docs folder in the root directory of the SharePoint Portal Server 2003 CD.

Modification Type:MajorLast Reviewed:5/12/2006
Keywords:kbprb kberrmsg kbtshoot KB893694 kbAudITPRO