none
Problem while updating project using PSI in Project Server 2007. RRS feed

  • Question

  • Hi,

    I have Project Server 2007 installed. I'm experiencing issue with some projects - when i'm trying to update them using PSI i get GeneralUnhandledException.

    In ULS logs i have error

    Exception occurred in method Project.QueueUpdateProject Microsoft.Office.Project.Server.Errors.InconsistentInternalStateException: Error in the application.     at Microsoft.Office.Project.Server.Errors.PSError.FailIfFalseTag(ULSTagID ulsID, ULSCat catID, Boolean testCase)     at Microsoft.Office.Project.Server.BusinessLayer.CustomFields.Validate(DataTable customFieldsTable, String entityPrimaryKeyName, DataTable parentTable, Guid entityTypeUid, Guid projectUid, Boolean deleteCFValuesOnModify, Boolean fromWinProj)     at Microsoft.Office.Project.Server.BusinessLayer.CustomFields.ValidateForProject(DataTable customFieldsTable, String entityPrimaryKeyName, DataTable parentTable, Guid entityTypeUid, Guid projectUid, Boolean fromWinProj)     at Microsoft.Office.Project.Server.BusinessLayer.ProjectValidate.ValidateCustomFields(ProjectDataSet dataset, Guid projectUid)     at Microsoft.Office.Project.Server.BusinessLayer.ProjectValidate.ValidateData(Guid projectUid, ProjectDataSet dataset, Boolean isNew)     at Microsoft.Office.Project.Server.BusinessLayer.Project.IsValidData(Guid projectUid, ProjectDataSet dataset, Boolean isNew)     at Microsoft.Office.Project.Server.BusinessLayer.Project.UpdateProjectCore(Guid jobUid, Guid sessionUid, ProjectDataSet dataset, ProjectDataSet deltaDataset, Boolean validateOnly, Guid projectUid, Boolean validate)     at Microsoft.Office.Project.Server.BusinessLayer.Project.UpdateProjectInternal(Guid jobUid, Guid sessionUid, ProjectDataSet dataset, Boolean validateOnly, Boolean validate)     at Microsoft.Office.Project.Server.BusinessLayer.Project.QueueUpdateProject(Guid jobUid, Guid sessionUid, ProjectDataSet dataset, Boolean validateOnly)     at Microsoft.Office.Project.Server.WebService.Project.QueueUpdateProject(Guid jobUid, Guid sessionUid, ProjectDataSet dataset, Boolean validateOnly)

    Another thing about this error that in projects with which problem occurres some custom fields has duplicates values in PWA.
    In fact i encountered some sort of this http://support.microsoft.com/kb/2598251 problem from Project Server 2010. But i have Project Server 2007! The first script from the article returned some results. But views in PWA are not broken, error occurres only when updating project from PSI.

    Any help with this? 


    Best regards, Chernobrivets

    Wednesday, October 3, 2012 8:15 AM

All replies

  • Hi Chernobrivets--

    You may need to save corrupted projects as XML locally  & re import these project as a new project to test your code.

    Thanks,


    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    Thursday, October 4, 2012 10:59 AM
  • Hi,

    I actually tried to transfer project to another environment - problem dissapeares.

    I did not tried to re import.

    The thing that bothering me is that my problem looks very similar to this (http://support.microsoft.com/kb/2598251) error (i wrote about this in second part of my first post). It is documented for Project Server 2010 but not for 2007 so i cannot find any fix for Project Server 2007.


    Best regards, Chernobrivets

    Thursday, October 4, 2012 1:04 PM