结果:有10%的概率在B列表中创建新项目失败。90%的情况可以成功创建。那失败的10%如果手工编辑项目,修改任何地方再修改回去,保存后,重启工作流,则工作流成功。
太诡异了。没有任何规律可言。
请高手指教。
错误信息是:
07/07/2011 16:27:05.45 w3wp.exe (0x1A00) 0x238C SharePoint Foundation SPRequest 8l3a Medium Failed to cache field with id "{f4a2c148-7914-42d7-8f2b-8508303d78f1}", overwrite=0 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:05.45 w3wp.exe (0x1A00) 0x238C SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). 执行时间=19.2671087865446 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:05.45 w3wp.exe (0x1A00) 0x238C Web Content Management Publishing 7fz3 Medium Setting [Display] as the FormContext.FormMode for the current page 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:05.53 w3wp.exe (0x1A00) 0x238C SharePoint Foundation SPRequest 8l3a Medium Failed to cache field with id "{f4a2c148-7914-42d7-8f2b-8508303d78f1}", overwrite=0 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:05.53 w3wp.exe (0x1A00) 0x238C SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData#2). 执行时间=18.2265255607654 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:05.70 w3wp.exe (0x1A00) 0x238C SharePoint Foundation SPRequest 8l3a Medium Failed to cache field with id "{f4a2c148-7914-42d7-8f2b-8508303d78f1}", overwrite=0 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:05.72 w3wp.exe (0x1A00) 0x238C SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData#3). 执行时间=20.7396684436897 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:05.72 w3wp.exe (0x1A00) 0x238C SharePoint Foundation General xxpm High Unable to execute query: Error 0x81020014 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:05.72 w3wp.exe (0x1A00) 0x238C SharePoint Foundation General 8kh7 High 一个或多个域类型未正确安装。请转到列表设置页删除这些域。 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:05.75 w3wp.exe (0x1A00) 0x238C SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData#6). 执行时间=15.1201350454319 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:05.94 w3wp.exe (0x1A00) 0x238C SharePoint Foundation General 8kh7 High 至少有一个查阅列强制实施关系行为并包含引用目标列表中一个或多个不存在项的值。 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:05.95 w3wp.exe (0x1A00) 0x238C SharePoint Foundation Workflow Infrastructure 72er Medium Microsoft.SharePoint.SPInvalidLookupValuesException: 无法插入或更新列表项,因为在列表的以下字段中找到了无效的查阅值: [付款确认码]。 在 Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents, String filename) 在 Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents, String filename) 在 Microsoft.SharePoint.SPListItem.Update() 在 Microsoft.SharePoint.Workflow.SPWinOEWSSServi... 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:05.95* w3wp.exe (0x1A00) 0x238C SharePoint Foundation Workflow Infrastructure 72er Medium ...ce.CommitUpdateListItem(Transaction txn, Object[] transData) 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:05.95 w3wp.exe (0x1A00) 0x238C SharePoint Foundation Workflow Infrastructure 72fe High Error in commiting pending workflow batch items: Microsoft.SharePoint.SPInvalidLookupValuesException: 无法插入或更新列表项,因为在列表的以下字段中找到了无效的查阅值: [付款确认码]。 在 Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents, String filename) 在 Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents, String filename) 在 Microsoft.SharePoint.SPListItem.Update() ... 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:05.95* w3wp.exe (0x1A00) 0x238C SharePoint Foundation Workflow Infrastructure 72fe High ... 在 Microsoft.SharePoint.Workflow.SPWinOEWSSService.CommitUpdateListItem(Transaction txn, Object[] transData) 在 Microsoft.SharePoint.Workflow.SPPendingWorkBatch.Commit(Transaction transaction, ICollection items) 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:06.01 w3wp.exe (0x1A00) 0x238C SharePoint Foundation Workflow Infrastructure 88xr Unexpected WinWF Internal Error, terminating workflow Id# 6ff6c3a4-3bd6-4b43-b24f-ec5050134df2 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:06.01 w3wp.exe (0x1A00) 0x238C SharePoint Foundation Workflow Infrastructure 98d4 Unexpected System.Workflow.Runtime.Hosting.PersistenceException: 无法插入或更新列表项,因为在列表的以下字段中找到了无效的查阅值: [付款确认码]。 ---> Microsoft.SharePoint.SPInvalidLookupValuesException: 无法插入或更新列表项,因为在列表的以下字段中找到了无效的查阅值: [付款确认码]。 在 Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents, String filename) 在 Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents, String filenam... 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:06.01* w3wp.exe (0x1A00) 0x238C SharePoint Foundation Workflow Infrastructure 98d4 Unexpected ...e) 在 Microsoft.SharePoint.SPListItem.Update() 在 Microsoft.SharePoint.Workflow.SPWinOEWSSService.CommitUpdateListItem(Transaction txn, Object[] transData) 在 Microsoft.SharePoint.Workflow.SPPendingWorkBatch.Commit(Transaction transaction, ICollection items) 在 System.Workflow.Runtime.WorkBatch.PendingWorkCollection.Commit(Transaction transaction) 在 System.Workflow.Runtime.WorkBatch.Commit(Transaction transaction) 在 System.Workflow.Runtime.Hosting.WorkflowCommitWorkBatchService.CommitWorkBatch(CommitWorkBatchCallback commitWorkBatchCallback) 在 System.Workflow.Runtime.Hosting.DefaultWorkflowCommitWorkBatchService.CommitWorkBatch(CommitWorkBatchCallback commitWorkBatchCallback) 在 System.Workflow.Runtime.WorkflowExecutor.CommitTransaction(Activity activityContext) ... 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:06.01* w3wp.exe (0x1A00) 0x238C SharePoint Foundation Workflow Infrastructure 98d4 Unexpected ... 在 System.Workflow.Runtime.WorkflowExecutor.Persist(Activity dynamicActivity, Boolean unlock, Boolean needsCompensation) --- 内部异常堆栈跟踪的结尾 --- 在 System.Workflow.Runtime.WorkflowExecutor.Persist(Activity dynamicActivity, Boolean unlock, Boolean needsCompensation) 在 System.Workflow.Runtime.WorkflowExecutor.System.Workflow.ComponentModel.IWorkflowCoreRuntime.PersistInstanceState(Activity activity) 在 System.Workflow.ComponentModel.Activity.MarkClosed() 在 System.Workflow.ComponentModel.Activity.ReleaseLockOnStatusChange(IActivityEventListener`1 eventListener) 在 System.Workflow.ComponentModel.FaultAndCancellationHandlingFilter.SafeReleaseLockOnStatusChange(ActivityExecutionContext context) 在 System.Workflow.ComponentModel.FaultAndCancellationHandlingFilter.OnEvent(Ob... 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
07/07/2011 16:27:06.01* w3wp.exe (0x1A00) 0x238C SharePoint Foundation Workflow Infrastructure 98d4 Unexpected ...ject sender, ActivityExecutionStatusChangedEventArgs e) 在 System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1.ActivityExecutorDelegateOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime) 在 System.Workflow.Runtime.Scheduler.Run() 9c91a1c8-8814-41dc-9eec-d6e17fd30f47
4 个解决方案
#1
字段有问题
#2
字段的值设置的无效,你可以尝试先把字段的约束去掉,或者把字段的值固定成符合要求的试下
#3
#4
请仔细查看下面的错误:Workflow Infrastructure 72er Medium Microsoft.SharePoint.SPInvalidLookupValuesException: 无法插入或更新列表项,因为在列表的以下字段中找到了无效的查阅值: [付款确认码].
应该是lookup出了问题。检查一下上面这个Field
应该是lookup出了问题。检查一下上面这个Field
#1
字段有问题
#2
字段的值设置的无效,你可以尝试先把字段的约束去掉,或者把字段的值固定成符合要求的试下
#3
#4
请仔细查看下面的错误:Workflow Infrastructure 72er Medium Microsoft.SharePoint.SPInvalidLookupValuesException: 无法插入或更新列表项,因为在列表的以下字段中找到了无效的查阅值: [付款确认码].
应该是lookup出了问题。检查一下上面这个Field
应该是lookup出了问题。检查一下上面这个Field