我正在尝试将一些自定义从我们的开发环境迁移到测试环境。我拥有解决方案所需的一切。当我将它导入测试环境时,它失败并出现错误;
已添加具有相同密钥的项目。
在我从解决方案导入屏幕下载的错误文件中,它针对事件实体的表单项类型列出。我的解决方案包含一个新的自定义表单,它还包含 2 个默认“信息”表单的定义。
通过详细跟踪,我可以在 xml 字符串中看到错误;
<formXml LocalizedName="Case" OriginalName="Case"
Description="Service request case associated with a contract."
id="Incident" processed="true">
<result result="failure" errorcode="0x80044150"
errortext="An item with the same key has already been added."
datetime="09:52:28.65" datetimeticks="635049859486557248" />
</formXml>
这是在 entitySubhandlers 节点内。但是,没有什么可以准确指出问题所在。有任何想法吗?谢谢。