MS Project Online: Cast is not valid (again)

Daniel Bell's avatar
posted by
 
4/11/2017
 
158 views

We seem to be seeing this error frequently lately.  Previously the fix was related to manually schedule tasks.  This particular issue we ended up using the Save For Sharing fix to resolve the issue.  We therefore are not sure of the specific issue, only that it was probably related to some sort of corruption. 

Save for Sharing procedure
  1. While connected to Project Online Open the project in MS Project
  2. Navigate File > Share > Save For Sharing > Save As
  3. Save to local hard drive
  4. Exit MS Project
  5. Launch MS Project
  6. Open the project you just saved locally
  7. Navigate File > Save As > Save (Make sure your PWA instance is selected)'
  8. The Save To dialog should show your original project name as Read-only
  9. Click Save
  10. Republish

General•ActiveCacheQueuedMessageExecutionError:◦ActiveCacheQueuedMessageExecutionError (12005). Details: id='12005'

name='ActiveCacheQueuedMessageExecutionError'

uid='bd1045ec-3f16-e711-80ce-00155d78e10b'

error='System.InvalidCastException: Specified cast is not valid. at Microsoft.Office.Project.Server.BusinessLayer.WinProjUtility.WinProjPropertyValue.FromWinProj(WinProjTraceContext wpTraceContext, Int32 pid, Object propValue, Row row, ContainerInfo cntrInfo, Dictionary`2 listItemMappings) at Microsoft.Office.Project.Server.BusinessLayer.WinProjUtility.P12Deserializer.ReadIntrinsicNullValuedProps(P12ContainerHeader cntrHeader, RowType rowType, Int32 intrinsicDataEndOffset, Row row, Dictionary`2 listItemMappings) at Microsoft.Office.Project.Server.BusinessLayer.WinProjUtility.P12Deserializer.ReadRowIntrinsicData(P12ContainerHeader cntrHeader, RowType rowType, Int32 intrinsicDataEndOffset, Dictionary`2 listItemMappings) at Microsoft.Office.Project.Server.BusinessLayer.WinProjUtility.P12Deserializer.ReadNextRow(P12ContainerHeader cntrHeader, Dictionary`2 listItemMappings) at Microsoft.Office.Project.Server.BusinessLayer.WinProj.SaveProjectData(SerializableProjectSaveData serializableProjectSaveData, WinProjTraceContext traceContext) at Microsoft.Office.Project.Server.BusinessLayer.QueueMsg.SaveProjectChunkMessage.Dispatch(WinProjTraceContext traceContext) at Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessACMessage.DispatchSaveProjectChunkMessage(Message msg, MessageContext mContext) at Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessACMessage.HandleMessage(Message msg, Group messageGroup, JobTicket jobTicket, MessageContext mContext)'

.

•Queue:◦GeneralQueueJobFailed (26000) - ScheduleWebPartSave.Byte[]. Details: id='26000'

name='GeneralQueueJobFailed'

uid='be1045ec-3f16-e711-80ce-00155d78e10b'

JobUID='37e0e99c-50ed-ea22-654e-b80c9dd3ae2e'

ComputerName='2da23c92-6575-4bfd-a48b-292f060e5b17'

GroupType='ScheduleWebPartSave'

MessageType='Byte[]'

MessageId='0'

Stage=''

CorrelationUID='d47ce39d-10b1-3000-dd3b-efbf7cb185a7'

For more details, check the ULS logs on machine 2da23c92-6575-4bfd-a48b-292f060e5b17 for entries with JobUID 37e0e99c-50ed-ea22-654e-b80c9dd3ae2e.

Comments

Got something to say? Join the discussion »

leave a reply

 [Quick Submit with Ctrl+Enter]

Remember my details
Notify me of followup comments via e-mail