我们有一个嵌入InfoPath ActiveX控件以显示表单的java应用程序。InfoPath 2010一切正常。
当我使用IP2013时,我只能打开不包含.NET代码的表单。当我试图打开包含.NET代码的表单时,我得到以下错误
(InfoPath:0x80043004) InfoPath cannot open the following file: path\to\file.
The form cannot be opened. To fix this problem, contact the form designer.
??
Form template: file:///path\to\template.xsn
InfoPath cannot open the selected form because of an error in the form's code.
Error in the application.
错误的确切含义是什么?我找不到错误代码或消息的解释。我能做些什么来解决这个问题?
我运行的一些背景和测试:我有3个表格
-
使用.NET 3.5在IP2007中创建的表单
-
使用.NET 3.5在IP2010中创建的表单
-
使用.NET 4.5在IP2013中创建的表单
-
在没有.NET代码的任何版本的InfoPath中创建的表单
当我直接在InfoPath中打开表单时,一切都正常。当我使用InfoPath ActiveX在java应用程序中打开表单时,我得到以下信息
-
InfoPath 2010-表单1、2和4正常工作,表单3失败(这是预期的)
-
InfoPath 2013-表单4工作正常,所有其他表单都无法打开,出现上述错误