Quantcast
Channel: Project Server General Questions and Answers forum
Viewing all articles
Browse latest Browse all 7942

Queue job ReportingTimesheetPeriodSync failed

$
0
0

Hi,

I'm using Project Server 2010.

I've Closed some Timesheets Reporting Periods (option Server Settings, Time Reporting Periods), because we have just closed the fiscal year and everything has already been reported, and I've received 29 emails with this error (for different Periods, 29 periods)

Your queue job ReportingTimesheetPeriodSync failed. Please contact your administrator for assistance

Your ReportingTimesheetPeriodSync job failed.Its current state is FailedNotBlocking.It was 0% complete.It entered the queue at 10/04/2012 09:53:53.
To get more information about the job failure, please go to Project Web App.Select Personal Settings from the left menu.Then select My Queued Jobs.
The errors returned from the queue are as follows:
 Error ID: 24013
 Error ID: 26000
Detailed error below - send it to the administrator for more detailed troubleshooting.
<?xmlversion="1.0"encoding="utf-16"?>
<errinfo>
<general>
<classname="Reportingmessageprocessorfailed">
<errorid="24013"name="ReportingTimesheetPeriodMessageFailed"uid="a000b84c-21f8-4792-a3e8-d84090d18a4a"QueueMessageBody="PeriodUid='2db872c3-9e16-45fd-afc5-27cd065a8977'.PeriodStartDate='06
񳏌00:00:00'.PeriodEndDate='06񳏌23:59:59'.PeriodName='Wk252012'.PeriodStatus='Closed'"Error="StoredProcedureMSP_Epm_SyncPeriodInTimesheetProjectfailed.Returncode=-1"/>
<errorid="24013"name="ReportingTimesheetPeriodMessageFailed"uid="b20def16-865a-4d54-b3b5-c841ebf78c30"QueueMessageBody="PeriodUid='2db872c3-9e16-45fd-afc5-27cd065a8977'.PeriodStartDate='06
񳏌00:00:00'.PeriodEndDate='06񳏌23:59:59'.PeriodName='Wk252012'.PeriodStatus='Closed'"Error="StoredProcedureMSP_Epm_SyncPeriodInTimesheetProjectfailed.Returncode=-1"/>
<errorid="24013"name="ReportingTimesheetPeriodMessageFailed"uid="d70b4a59-3ad9-4c9b-bd28-958fe2e6fcce"QueueMessageBody="PeriodUid='2db872c3-9e16-45fd-afc5-27cd065a8977'.PeriodStartDate='06
񳏌00:00:00'.PeriodEndDate='06񳏌23:59:59'.PeriodName='Wk252012'.PeriodStatus='Closed'"Error="StoredProcedureMSP_Epm_SyncPeriodInTimesheetProjectfailed.Returncode=-1"/>
<errorid="24013"name="ReportingTimesheetPeriodMessageFailed"uid="ca27afd3-039b-42c6-badf-c8254b145e50"QueueMessageBody="PeriodUid='2db872c3-9e16-45fd-afc5-27cd065a8977'.PeriodStartDate='06
񳏌00:00:00'.PeriodEndDate='06񳏌23:59:59'.PeriodName='Wk252012'.PeriodStatus='Closed'"Error="StoredProcedureMSP_Epm_SyncPeriodInTimesheetProjectfailed.Returncode=-1"/>

<errorid="24013"name="ReportingTimesheetPeriodMessageFailed"uid="5ce09fe5-5c33-4612-97c2-6c42604c3870"QueueMessageBody="PeriodUid='2db872c3-9e16-45fd-afc5-27cd065a8977'.PeriodStartDate='06񳏌00:00:00'.PeriodEndDate='06񳏌23:59:59'.PeriodName='Wk252012'.PeriodStatus='Closed'"Error="StoredProcedureMSP_Epm_SyncPeriodInTimesheetProjectfailed.Returncode=-1"/>
<errorid="24013"name="ReportingTimesheetPeriodMessageFailed"uid="acc77f91-1309-4dc9-bff0-8d54244f19c6"QueueMessageBody="PeriodUid='2db872c3-9e16-45fd-afc5-27cd065a8977'.PeriodStartDate='06
񳏌00:00:00'.PeriodEndDate='06񳏌23:59:59'.PeriodName='Wk252012'.PeriodStatus='Closed'"Error="StoredProcedureMSP_Epm_SyncPeriodInTimesheetProjectfailed.Returncode=-1"/>
</class>
<classname="Queue">
<errorid="26000"name="GeneralQueueJobFailed"uid="686fd9d7-2223-42f8-97a9-93b0db5f324e"JobUID="61cab646-52ee-4665-88af-3a09e7b304c4"ComputerName="APPSERVER"GroupType="ReportingTimesheetPeriodSync"MessageType="ReportTimesheetPeriodSyncMessageEx"MessageId="1"Stage=""/>
</class>
</general>
</errinfo>

I've been looking inside the Stored Procedure MSP_Epm_SyncPeriodInTimesheetProject and it is very simple, it returns an error -1 because it doesn't find a record:

IFNOTEXISTS(SELECT TaskUIDFROM dbo.MSP_EpmTaskWHERE ProjectUID ='0000cf75-fb12-4ffc-a404-aec4f3258a9c'

AND TaskUID= @PeriodUID)

  BEGIN

     RETURN-1

  END

Do you know how to solve this problem?

Thank you and regards,

José Espases


Viewing all articles
Browse latest Browse all 7942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>