I have experienced Project Server 2007 Active Directory Synchronization failure on client. As the result, Active Directory cannot be synchronized and even worse, the user/resource edit page shows error when you tried to edit a synchronized user/resource. It may potentially create corrupted assignments in project plan.
In the event log on project server, there are errors in application category.
Error Message:
Standard Information:PSI Entry Point:
Project User: IHESS\sdai
Correlation Id: 837bfd5f-9502-4e09-a193-2af20c8392b0
PWA Site URL: http://hacssia021/PWA
SSP Name: SharedServices_MOPS
PSError: Success (0)
A general exception occurred during communication with Active Directory. Context: SyncGroup. Additional Information: An exception occurred while syncing a project server group with active directory. GroupName: ‘%s’. PWA Group Guid: ‘%s’ Exception: ‘%s’.. Exception Info: EPIS Team Members
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
There also are errors in system category:
Error Message:
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
{61738644-F196-11D0-9953-00C04FD919C1}
to the user IHESS\SRV_PROJSVR_DB SID (S-1-5-21-789336058-2052111302-839522115-106752). This security permission can be modified using the Component Services administrative tool.
From the error message, I decided to change the DCOM configuration first. By searching the registry, I found that (S-1-5-21-789336058-2052111302-839522115-106752) is the ID of IIS WAMREG Admin Service component.
Open the Component Services on project server and select “Component Services” – “DCOM Config”.
Right click on component and select “Property”. Then select “Security”.
Select “Edit” button in “Launch and Activation Permissions”, then add the SharePoint farm service user in and give it “Local Launch” and “Local Activation” permissions.
After done, I tried to synchronize the users again. However, I still got errors. When I check the event log, the errors are different.
Error Message:
Standard Information:PSI Entry Point:
Project User: IHESS\sdai
Correlation Id: 837bfd5f-9502-4e09-a193-2af20c8392b0
PWA Site URL: http://hacssia021/PWA
SSP Name: SharedServices_MOPS
PSError: Success (0)
Changes were detected for a resource during Project Server Active Directory Synchronization. However, the changes could not be applied because the resource could not be checked out. The checkout failed because the resource is checked out to another user. Resource GUID: 67581218-21cd-4f5e-9ee0-6ad4f0e25799
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
It shows some resource has been checked out. But in force-in resource page, I did not find any check-out resources. Actually, those resources are checked-out by AD synchronization process.
I used “SQL Server Management Studio” to open the Project Server 2007 published database.
Run the script to check back in the resources
UPDATE MSP_RESOURCES
SET RES_CHECKOUTBY = NULL
WHERE RES_UID in (
SELECT
RES_UID
FROM MSP_Resources
WHERE RES_CHECKOUTBY = ‘00000000-0000-0000-0000-000000000000’)
If you have corrupted assignments, you may use the script to find out:
SELECT MSP_PROJECTS.PROJ_NAME,
MSP_ASSIGNMENTS_SAVED.TASK_NAME,
MSP_RESOURCES.RES_NAME,
MSP_ASSIGNMENTS_SAVED.ASSN_UID,
MSP_ASSIGNMENTS_SAVED.PROJ_UID,
MSP_ASSIGNMENTS_SAVED.TASK_UID,
MSP_ASSIGNMENTS_SAVED.RES_UID
FROM MSP_ASSIGNMENTS_SAVED INNER JOIN
MSP_PROJECTS ON MSP_ASSIGNMENTS_SAVED.PROJ_UID =
MSP_PROJECTS.PROJ_UID INNER JOIN
MSP_RESOURCES ON MSP_ASSIGNMENTS_SAVED.RES_UID =
MSP_RESOURCES.RES_UID
WHERE (NOT EXISTS
(SELECT TASK_UID
FROM MSP_TASKS_SAVED
WHERE (TASK_UID = MSP_ASSIGNMENTS_SAVED.TASK_UID)))
Reference:
http://connect.microsoft.com/feedback/ViewFeedback.aspx?FeedbackID=288068&SiteID=235