ApplyResourceCapacityTimeRangeJob is not running


In Project Web Access you are missing the Capacity data in you OLAP Cube for reporting. The scheduled Resource Capacity Sync job is scheduled to run every day at 1:00AM and appears to have run successfully.

In the Job Status list in the SharePoint Central Administration, the job status is succeeded with the correct date and time. However there is no Reporting (Resource Capacity Sync) job in the Project Server queue

In the ProjectServer_Reporting. MSP_EpmResourcebyday table, Capacity is missing.


A timer job for Resource Capacity Synchronization that runs every day at 1:00AM has stopped running. The issue occurs if an I/O error occurs when the job is evoked.

In the ULS logs, you find the I/O error message :

Scheduled timer job Project Server 'SSP_PSI:http://myserver/PWA' job 'ApplyResourceCapacityTimeRangeJob', id {817D8356-5ED4-4C54-83EF-DBC2F77ED13A} at 09 mars 2011 10:25:00 +0100 (now is 08 mars 2011 10:25:00 +0100)

Determining if the current user is a SharePoint Farm Administrator

Current user after SqlConnection.Open: Name: myinstance\service SID: S-1-5-21-131613674-4228406019-2997012120-14525 ImpersonationLevel: None

SqlCommand: 'dbo.proc_getNewObjects'     CommandType: StoredProcedure CommandTimeout: 0     Parameter: '@RETURN_VALUE' Type: Int Size: 0 Direction: ReturnValue Value: ''     Parameter: '@NewestCachedVersion' Type: BigInt Size: 0 Direction: Input Value: '58412'

Begin invoke timer job Project Server 'SSP_PSI:http://myserver/PWA' job 'ApplyResourceCapacityTimeRangeJob', id {817D8356-5ED4-4C54-83EF-DBC2F77ED13A}, DB n/a

ConnectionString: 'Data Source=mySQLServer\instance;Initial Catalog=SharePoint_Config2;Integrated Security=True;Enlist=False'    ConnectionState: Closed ConnectionTimeout: 15

Reverting to process identity

ServerScheduledTimerJob failed

System.IO.FileNotFoundException: The site with the id <id> could not be found. at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(Guid id) at Microsoft.Office.Project.Server.Administration.ServerScheduledTimerJob.Execute(Guid targetInstanceId)

End invoke timer job Project Server 'SSP_PSI:http://myserver/PWA' job 'ApplyResourceCapacityTimeRangeJob', id {817D8356-5ED4-4C54-83EF-DBC2F77ED13A}, DB n/a


To fix the error message, you have to use STSADM command to delete the job:

C:\>stsadm -o deleteconfigurationobject -id <job_id>

Then, you must schedule a new job on your instance.
When the time is reached, the job is created in the Project Server queue and in the Job definitions list in WSS.

Then, you can check the result on Resource Capacity by executing the following SQL query againt Reporting database:

select min(timebyday) as 'MIN', max(timebyday) as 'MAX' from msp_epmresourcebyday


Id. de artículo: 2786168 - Última revisión: 9 abr. 2013 - Revisión: 1