Hi,
I'm using Project Server 2010 and there is one project that gets Saved and Published but, at the end, there is an error saving to PWA-ProjectServer_Reporting database.
The error is:
General
Reporting message processor failed:
ReportingProjectChangeMessageFailed (24006) - The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignmentByDay_ProjectUID_AssignmentUID". The conflict occurred in database "PWA_ProjectServer_Reporting", table "dbo.MSP_EpmAssignment". The statement has been terminated.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='0d18542b-6d57-4246-9ad2-f34e654472e2' QueueMessageBody='Project UID='f11349e4-eb2d-40b1-9d0e-c239fa4ce01b'. PublishType='ProjectPublish'' Error='The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignmentByDay_ProjectUID_AssignmentUID". The conflict occurred in database "PWA_ProjectServer_Reporting", table "dbo.MSP_EpmAssignment". The statement has been terminated.'.
ReportingProjectChangeMessageFailed (24006) - The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignmentByDay_ProjectUID_AssignmentUID". The conflict occurred in database "PWA_ProjectServer_Reporting", table "dbo.MSP_EpmAssignment". The statement has been terminated.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='fde3907d-8d9b-414b-9755-ba064d6728fb' QueueMessageBody='Project UID='f11349e4-eb2d-40b1-9d0e-c239fa4ce01b'. PublishType='ProjectPublish'' Error='The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignmentByDay_ProjectUID_AssignmentUID". The conflict occurred in database "PWA_ProjectServer_Reporting", table "dbo.MSP_EpmAssignment". The statement has been terminated.'.
ReportingProjectChangeMessageFailed (24006) - The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignmentByDay_ProjectUID_AssignmentUID". The conflict occurred in database "PWA_ProjectServer_Reporting", table "dbo.MSP_EpmAssignment". The statement has been terminated.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='dd666dce-ce4c-4559-b173-156e742c1162' QueueMessageBody='Project UID='f11349e4-eb2d-40b1-9d0e-c239fa4ce01b'. PublishType='ProjectPublish'' Error='The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignmentByDay_ProjectUID_AssignmentUID". The conflict occurred in database "PWA_ProjectServer_Reporting", table "dbo.MSP_EpmAssignment". The statement has been terminated.'.
ReportingProjectChangeMessageFailed (24006) - The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignmentByDay_ProjectUID_AssignmentUID". The conflict occurred in database "PWA_ProjectServer_Reporting", table "dbo.MSP_EpmAssignment". The statement has been terminated.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='282b4245-2b46-4e5e-891b-c5c497c0a7db' QueueMessageBody='Project UID='f11349e4-eb2d-40b1-9d0e-c239fa4ce01b'. PublishType='ProjectPublish'' Error='The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignmentByDay_ProjectUID_AssignmentUID". The conflict occurred in database "PWA_ProjectServer_Reporting", table "dbo.MSP_EpmAssignment". The statement has been terminated.'.
ReportingProjectChangeMessageFailed (24006) - The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignmentByDay_ProjectUID_AssignmentUID". The conflict occurred in database "PWA_ProjectServer_Reporting", table "dbo.MSP_EpmAssignment". The statement has been terminated.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='32b68684-e37f-49f8-b881-233ac830df79' QueueMessageBody='Project UID='f11349e4-eb2d-40b1-9d0e-c239fa4ce01b'. PublishType='ProjectPublish'' Error='The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignmentByDay_ProjectUID_AssignmentUID". The conflict occurred in database "PWA_ProjectServer_Reporting", table "dbo.MSP_EpmAssignment". The statement has been terminated.'.
ReportingProjectChangeMessageFailed (24006) - The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignmentByDay_ProjectUID_AssignmentUID". The conflict occurred in database "PWA_ProjectServer_Reporting", table "dbo.MSP_EpmAssignment". The statement has been terminated.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='db48827c-ebdf-4eeb-ae96-6c3db1c4172b' QueueMessageBody='Project UID='f11349e4-eb2d-40b1-9d0e-c239fa4ce01b'. PublishType='ProjectPublish'' Error='The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignmentByDay_ProjectUID_AssignmentUID". The conflict occurred in database "PWA_ProjectServer_Reporting", table "dbo.MSP_EpmAssignment". The statement has been terminated.'.
Queue:
GeneralQueueJobFailed (26000) - ReportingProjectPublish.ReportProjectPublishMessageEx. Details: id='26000' name='GeneralQueueJobFailed' uid='cdedd9ff-577c-4c33-bdba-eb8cee1986fb' JobUID='e703f7bb-4eaa-4735-984b-0950deb11646' ComputerName='CUESTOR' GroupType='ReportingProjectPublish' MessageType='ReportProjectPublishMessageEx' MessageId='1' Stage=''. For more details, check the ULS logs on machine CUESTOR for entries with JobUID e703f7bb-4eaa-4735-984b-0950deb11646.
I've been checking the table PWA_ProjectServer_Reporting.dbo.MSP_EpmAssignment and it has a lot of records for this project 'f11349e4-eb2d-40b1-9d0e-c239fa4ce01b', I checked, too, the table PWA_ProjectServer_Reporting.dbo.MSP_EpmAssignmentByDay and there is no record at all for this project. I don't know what it tries to insert in this table, but for sure there is no record inserted.
I don't know what more to do.
Please, can you help me on this issue?
Thank you and regards,
José Espases