none
Specified cast is invalid ActiveCacheQueuedMessageExecutionError (12005). Details: id='12005' RRS feed

  • Question

  • Hey!

    I have a customer receiving the error below when publishing a specific project.  They are on project online.  Typically for this type of error I see the issue being related to text values in date fields for manually scheduled tasks.  This is not the case for this particular project.  If anyone has see this and has info it'd be appreciated.

    -Dan

    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)'


    ___________________________________________ Daniel Bell | PMP | http://www.integent.com

    Wednesday, April 5, 2017 7:24 PM

All replies

  • Hi,
    I am seeing the issue described above in two different PWA instances and in two different tenants.  I have only started seeing it in the last week. Admittedly it has only occurred once in one of them. But in the other it has occurred 6 or 7 times.  It is intermittent and can occur on a Save from Project Pro and PWA.

    I have also seen it occur in a plan even after we have removed all manually scheduled tasks. During testing I could save a plan 16 times successfully after making minor changes, then it will fail with this error. Then it Saves fine even if I don’t change anything.

    A real head scratcher. It seems to occur when resources are involved somewhere I think, either they are assigned to a task or a task is changes that has assignments, I just cannot nail it down.

    Do let me know if you find anything else. I will post back if I find anymore.

    Thanks
    Charlie

    Tuesday, April 11, 2017 7:14 PM
  • Hi,

    We were able to resolve this just today by using the "Save for Sharing" method. 

    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

    After doing this the project was able to save and publish 100% successfully. 


    ___________________________________________ Daniel Bell | PMP | http://www.integent.com

    Tuesday, April 11, 2017 7:27 PM
  • Having the same error with project professional. I followed these steps but still getting the same error.

    <detail><ServerExecutionFault xmlns="http://Microsoft.Office.Project.Interfaces/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Actor i:nil="true"/><LastError>42</LastError><Message></Message><Source></Source><StackTrace></StackTrace><TargetSite i:nil="true"/><ExceptionDetails><errinfo xmlns=""><general><class name="General Unhandled Exception in _WinProj.QueuePublishWinProj_"><error id="42" name="GeneralUnhandledException" uid="57b74280-fbfd-e811-966f-0050568d54ce" Exception="System.InvalidCastException: Specified cast is not valid.&#xA;   at Microsoft.Office.Project.Server.DataAccessLayer.Generated.WorkflowDalBase.GetDefaultEPTAutoCreateField()&#xA;   at Microsoft.Office.Project.Server.BusinessLayer.Admin.ReadWssSettingsWinProj()&#xA;   at Microsoft.Office.Project.Server.BusinessLayer.Project.QueuePublishWinProj(Guid jobUid, Guid projectUid, Boolean fullPublish, String WssURL)&#xA;   at Microsoft.Office.Project.Server.Wcf.Implementation.WinProjImpl.&lt;&gt;c__DisplayClass90.&lt;QueuePublish&gt;b__8e()&#xA;   at Microsoft.Office.Project.Server.BusinessObjectMethodInvocation.InvokeBusinessObjectMethod(String methodName, IEnumerable`1 actions)"/></class></general></errinfo></ExceptionDetails></ServerExecutionFault></detail>


    Wednesday, December 12, 2018 10:50 AM