Hello,
We have recently upgrade from Project Server 2010 to 2013 and are running service pack 1.
Some projects show an error in the "Project fields" web part when the Project Details page is opened for editing in Project Centre.
The web part shows the following error;
This Web Part was unable to load. Information that may be useful in solving this problem was written to the Unified Logging Service (ULS) log on the Project Web App with the following ID: a293b09c-6d8e-9012-d724-8efc6112bb9f For more information, contact your Project Web App administrator.
The following Exception is recorded in the ULS logs
[bucketHash:EA12704E] Webpart ProjectFieldPart failed in PageLoadComplete. Unique ID: a293b09c-6d8e-9012-d724-8efc6112bb9f System.InvalidCastException: Cannot cast DBNull.Value to type 'System.Guid'. Please use a nullable type.
at System.Data.DataRowExtensions.UnboxT`1.ValueField(Object value)
at Microsoft.Office.Project.PWA.CustomFieldUtil.<BuildCFInputRow>b__3(DataRow row)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Microsoft.Office.Project.PWA.CustomFieldUtil.BuildCFInputRow(Control ctlParent, CustomFieldsRow cf, String cfID, Hashtable htValues, ArrayList clientIdAl, ArrayList divBtnPairs, Boolean useSecondaryUid, Boolean fieldReadOnly, Boolean isBulkEdit, String
currency, Boolean loadDefaultForLU, Boolean forceSingleValue, LookupTableDataSet ltds, Nullable`1 serverSeparator, Page page, PJContext pjContext)
at Microsoft.Office.Project.PWA.WebParts.ProjectFieldPartBase.RenderReadWriteProjectField(Guid customFieldGuid, ProjectFieldDisplayModel customFieldInfo, Literal lblName, Literal lblDescription, PlaceHolder pchCFControl, String[] containingElements)
at Microsoft.Office.Project.PWA.WebParts.ProjectFieldPartBase.ProcessCustomFieldControl(Guid customFieldGuid, Literal lblName, Literal requiredControl, Literal lblDescription, PlaceHolder pchCFControl, String[] containingElements)
at Microsoft.Office.Project.PWA.WebParts.ProjectFieldPartBase.ReplacePlaceHoldersWithCustomFieldControls()
at Microsoft.Office.Project.PWA.WebParts.PWAResiliencyPart.PageLoadComplete_ResiliencyCallback(Object sender, EventArgs e) StackTrace:
at Microsoft.Office.Project.Server.Native.dll: (sig=6ea170d1-988e-4153-9f1d-0305c0ea0309|2|microsoft.office.project.server.native.pdb, offset=3C1E)
at Microsoft.Office.Project.Server.Native.dll: (offset=1255D)
Hoping that someone has seen this before and knows of a resolution, or knows where more information may be present. The project details can be modified in Project Pro as a workaround, but I'm at a bit of a loss as to what might be causing the issue (other than Project Server attempting to case a NULL value to a GUID - but I can't see where, why or how that might be happening!)
Only a handful of projects are affected.
Thanks!
If not now, when?