biztalk映射器出错。指数超出范围。必须是非负数且小于集合的大小 [英] Error in biztalk mapper. Index out of range. Must be non-negative and less than the size of the collection
问题描述
在我的BizTalk应用程序(2013)中,我有一个映射到目标模式的源模式。
In my BizTalk application (2013), I have a source schema mapped to the destination schema.
映射器工作正常,直到我更改了其中一个的属性源模式中的元素从'optional'到required'
The mapper was working fine until I changed the property of one of the element on source schema from 'optional' to required'
当我更改为'required'时,构建失败,mapper中出现错误:'索引超出范围。必须是非负数且小于集合的大小。
When I changed to 'required', the build fails with an error in mapper which says: 'Index out of range. Must be non-negative and less than the size of the collection.
为什么我会收到此错误以及如何修复?
Why do I get this error and how to fix it?
推荐答案
当我改为'required'时,构建失败,mapper中出现错误:'索引超出范围。必须是非负数且小于集合的大小。
When I changed to 'required', the build fails with an error in mapper which says: 'Index out of range. Must be non-negative and less than the size of the collection.
为什么我会收到此错误以及如何解决?
Why do I get this error and how to fix it?
我们可以通过直接在地图源(.btm)文件中修改
mapsource 元素的属性来修改BizTalk Mapper的某些默认行为。
We can modify certain default behaviors of BizTalk Mapper by modifying attributes of the mapsource element directly in a map source (.btm) file.
从上面的描述中,我不确定你修改了哪个元素,我几乎无法进行精确的故障排除。在我看来,你可以按照这个
指南使用< mapsource>管理默认的Mapper行为。
From your description above, I'm not sure which element you modified, and I can hardly give precise troubleshooting. In my opinion, you could follow this guide to manage default Mapper Behavior using <mapsource>.
祝你有个美好的一天。
问候,
Angie
这篇关于biztalk映射器出错。指数超出范围。必须是非负数且小于集合的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!