简体   繁体   English

在sharepoint 2010自定义工作流程(C#vs2010)中打开Word文档时,出现以下错误。

[英]When opening a Word document in a sharepoint 2010 custom workflow (c# vs2010) i see the following error.

System.IndexOutOfRangeException: Index was outside the bounds of the array. at ConvertWordToPDF.OpenXmlParser.ParseFile(SPFile file) at ConvertWordToPDF.Workflow1.Workflow1.ProcessResumeWorkflow()

Anyone else run into this? 还有其他人遇到吗? Ideas? 有想法吗?

it is very common error when you iterate throught list/library items and your interation go to index that is outside the listitem.count. 当您遍历列表/库项目并且交互进入listitem.count之外的索引时,这是一个非常常见的错误。 I dont know how your workflow code looks like so this all what develper can say with seeing only excetpion. 我不知道您的工作流程代码是什么样子,所以开发人员仅凭眼见就能说出这一切。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM