Hello,
I have a sharepoint 2013 intranet site with a workflow on a list. This workflow starts automatically when an item is created or modified. Sometimes the workflow does not start and I don't understand why.
When I look into the logs I found that :
08/23/2014 13:05:30.38 w3wp.exe (0x24E8) 0x342C SharePoint Foundation Legacy Workflow Infrastructure72fvUnexpectedAutoStart Workflow: Microsoft.SharePoint.SPException: La liste n’existe pas. La page sélectionnée contient une liste qui n’existe pas. Elle a peut-être été supprimée par un autre utilisateur. ---> System.Runtime.InteropServices.COMException: La liste n’existe pas. La page sélectionnée contient une liste qui n’existe pas. Elle a peut-être été supprimée par un autre utilisateur.<nativehr>0x81020026</nativehr><nativestack></nativestack> à Microsoft.SharePoint.Library.SPRequestInternalClass.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFi...7b4bb19c-5ace-a01a-78a6-b599006f355008/23/2014 13:05:30.38*w3wp.exe (0x24E8) 0x342C SharePoint Foundation Legacy Workflow Infrastructure72fvUnexpected...elds, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) à Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) --- Fin de la trace de la pile d'exception interne --- à Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) à Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate...7b4bb19c-5ace-a01a-78a6-b599006f3550
08/23/2014 13:05:30.38*w3wp.exe (0x24E8) 0x342C SharePoint Foundation Legacy Workflow Infrastructure72fvUnexpected..., UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) à Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid webId, String strListName) à Microsoft.SharePoint.SPListCollection.ItemByInternalName(String strInternalName, Boolean bThrowException) à Microsoft.SharePoint.SPListCollection.GetListById(Guid uniqueID, Boolean bThrowException) à Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(Object context, SPWorkflowAssociation association, DateTime elevationTimeUtc, SPWorkflowEvent startEvent, SPWorkflowRunOptions runOptions) à Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver....7b4bb19c-5ace-a01a-78a6-b599006f3550
08/23/2014 13:05:30.38*w3wp.exe (0x24E8) 0x342C SharePoint Foundation Legacy Workflow Infrastructure72fvUnexpected...<>c__DisplayClass1.<AutoStartWorkflow>b__0(SPSite superUserSite, SPWeb superUserWeb)7b4bb19c-5ace-a01a-78a6-b599006f3550
08/23/2014 13:05:30.38 w3wp.exe (0x24E8) 0x342C SharePoint Foundation General 8kh7High La liste n’existe pas. La page sélectionnée contient une liste qui n’existe pas. Elle a peut-être été supprimée par un autre utilisateur.<nativehr>0x81020026</nativehr><nativestack></nativestack>7b4bb19c-5ace-a01a-78a6-b599006f3550
08/23/2014 13:05:30.38 w3wp.exe (0x24E8) 0x342C SharePoint Foundation General aix9jHigh SPRequest.GetListsWithCallback: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://srv-shareptweb1 ,foreignWebId=00000000-0000-0000-0000-000000000000 ,bstrListInternalName={0A501ED5-A166-4157-9AF8-731E8DA308F8} ,dwBaseType=-1 ,dwBaseTypeAlt=-1 ,dwServerTemplate=-1 ,dwGetListFlags=0 ,dwListFilterFlags=4294967295 ,bPrefetchMetaData=False ,bSecurityTrimmed=True ,bGetSecurityData=True ,bPrefetchRelatedFields=False7b4bb19c-5ace-a01a-78a6-b599006f3550
08/23/2014 13:05:30.38 w3wp.exe (0x24E8) 0x342C SharePoint Foundation General ai1wuMedium System.Runtime.InteropServices.COMException: La liste n’existe pas. La page sélectionnée contient une liste qui n’existe pas. Elle a peut-être été supprimée par un autre utilisateur.<nativehr>0x81020026</nativehr><nativestack></nativestack>, StackTrace: à Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid webId, String strListName) à Microsoft.SharePoint.SPListCollection.ItemByInternalName(String strInternalName, Boolean bThrowException) à Microsoft.SharePoint.SPListCollection.GetListById(Guid uniqueID, Boolean bThrowException) à Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(Object context, SPWorkflowAssociation association, DateTime elevationTimeUtc, SPWorkflowEvent startEvent, SPWorkflowRunOptions runOptions) à Microsoft.SharePoint.Workflow... 7b4bb19c-5ace-a01a-78a6-b599006f3550
08/23/2014 13:05:30.38*w3wp.exe (0x24E8) 0x342C SharePoint Foundation General ai1wuMedium ....SPWorkflowAutostartEventReceiver.<>c__DisplayClass1.<AutoStartWorkflow>b__0(SPSite superUserSite, SPWeb superUserWeb) à Microsoft.SharePoint.SPSecurity.<>c__DisplayClass10.<RunWithSystemSiteAndWeb>b__f() à Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3() à Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) à Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) à Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) à Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.AutoStartWorkflow(SPItemEventProperties properties, Boolean bCreate, Boolean bChange, AssocType atyp) à Microsoft.SharePoint.Workflow....7b4bb19c-5ace-a01a-78a6-b599006f3550
08/23/2014 13:05:30.38*w3wp.exe (0x24E8) 0x342C SharePoint Foundation General ai1wuMedium ...SPWorkflowAutostartEventReceiver.ItemAdded(SPItemEventProperties properties) à Microsoft.SharePoint.SPEventManager.RunItemEventReceiver(SPItemEventReceiver receiver, SPUserCodeInfo userCodeInfo, SPItemEventProperties properties, SPEventContext context, String receiverData) à Microsoft.SharePoint.SPEventManager.RunItemEventReceiverHelper(Object receiver, SPUserCodeInfo userCodeInfo, Object properties, SPEventContext context, String receiverData) à Microsoft.SharePoint.SPEventManager.<>c__DisplayClassa`1.<InvokeEventReceiver>b__7() à Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param) à Microsoft.SharePoint.SPEventManager.InvokeEventReceiver[ReceiverType](SPUserToken userToken, Guid tranLockerId, RunEven...7b4bb19c-5ace-a01a-78a6-b599006f3550
08/23/2014 13:05:30.38*w3wp.exe (0x24E8) 0x342C SharePoint Foundation General ai1wuMedium ...tReceiver runEventReceiver, Object receivers, Int32 n, Object properties, SPEventReceiverOperationsType operationsType, Boolean& canceled, String& error) à Microsoft.SharePoint.SPEventManager.InvokeEventReceivers[ReceiverType](SPRemoteEventReceiverCallType remoteCallType, SPUserToken userToken, Guid tranLockerId, RunEventReceiver runEventReceiver, RunRemoteEventReceiver runRemoteEventReceiver, Object receivers, Object properties, Boolean checkCancel, SPEventReceiverOperationsType operationsType) à Microsoft.SharePoint.SPEventManager.InvokeEventReceivers[ReceiverType](SPRemoteEventReceiverCallType remoteCallType, Byte[] userTokenBytes, Guid tranLockerId, RunEventReceiver runEventReceiver, RunRemoteEventReceiver runRemoteEventReceiver, Object receivers, Object properties, Boolean che...7b4bb19c-5ace-a01a-78a6-b599006f3550
08/23/2014 13:05:30.38*w3wp.exe (0x24E8) 0x342C SharePoint Foundation General ai1wuMedium ...ckCancel, SPEventReceiverOperationsType operationsType) à Microsoft.SharePoint.SPEventManager.HandleEventCallback[ReceiverType,PropertiesType](Object callbackData) à Microsoft.SharePoint.Utilities.SPThreadPool.WaitCallbackWrapper(Object state) à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) à System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() à System.Threading.ThreadPoolWorkQueue.Dispatch() 7b4bb19c-5ace-a01a-78a6-b599006f3550
Do you have any idea ?
Best regards,