我遇到了SharePoint 2010的问题,当我们将文档集发送到存储库时,内容管理器会出现未知错误。我们的工作流程没有更改,在检查ULS日志后,我们发现了以下附加错误消息:
System.ArgumentException:值不在预期范围内。位于Microsoft.Share.SPField上的Microsoft.SharePoint.SPFieldLookupValue.ParseLookupId(String fieldValue),位于Microsoft.Share.SPFieldUserValue..ctor(String fieldValue),位于Microsoft.Office.DocumentManagement.CommonUtility的Microsoft.SharePoint.SPFieldUserValue..ctor(SPWeb web,String fieldValue)。 GetUserFieldValueByLoginName(FLD的SPField,SPListItem项,布尔dropSharePointGroups)在Microsoft.Office.DocumentManagement.CommonUtility.GetFieldValueAsString(SPListItem项,的SPField FLD,布尔dropSharePointGroups)在Microsoft.Office.DocumentManagement.CommonUtility.GetFileSubmissionPropertyArray(SPListItem项目,布尔bIncludeAuditHistory,布尔bUseFieldGuid ,Microsoft.Office.DocumentManagement.DocumentSets.DocumentSet.SendToOfficialFile(String strRecordSeries,String& strAdditionalInfo,SPOfficialFileHost targets)中的Microsoft.Office.DocumentManagement.DocumentSets.DocumentSet.RgofpFromListItem(SPListItem item,SPOfficialFileAction postOp)上的布尔dropSharePointGroups在System.Workflow.ComponentModel.ActivityExecutor
中的Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)1.Execute(T activity, ActivityExecutionContext executionContext) at System.Workflow.ComponentModel.ActivityExecutor
的Microsoft.Office.Workflow.Actions.SubmitDocSetActivity.Execute(ActivityExecutionContext context)中的tHost,String submitter,SPOfficialFileSubmissionMode submissionMode)1.在System处执行(Activity activity,ActivityExecutionContext executionContext)。 System.Workflow.Runtime.Scheduler.Run()
我对SharePoint和工作流的前端只有非常基本的了解,所以我不知道我在这里看到了什么。我发现有一个值不在预期范围内,但我不知道它引用了什么值,或者如何更改值以将其置于预期范围内。任何帮助将不胜感激。
答案 0 :(得分:0)
Please try this fix....the error is in the workflow history logs. If you set the workflow auto cleanup timer job to 5min then wait for logs to clear out the history of deleted workflows the error will go away.
stsadm -o setproperty -pn job-workflow-autoclean -pv "Every 5 minutes between 0 and
59" -url http://yoursite