Greetings,
I have an non-browser based InfoPath 2010 form (originally deployed
in InfoPath 2003) that is based on a CheckOut/CheckIn model. It
retrieves and submits XML documents via SOAP web services deployed in
Apache Axis.
It's a simple Web Service template form that receives the XML
document from a CheckOut web service defined in WSDL (executed by
clicking Run Query) and then submits any changes back to a corresponding
CheckIn web service (Submit button with a web service
data connection). It doesn't use any custom code or rules, and the form
and web services are deployed in the same domain. The form has been in
production since 2004. (Windows XP Professional, Version 2002, Service
Pack 3)
All of this used to work flawlessly in InfoPath 2003, but for
whatever reason, clicking the submit button now causes InfoPath 2010 to
crash with the following error:
Microsoft InfoPath has encountered a problem and needs to close. We are sorry for the inconvenience.
If you were in the middle of something, the information you were working on might be lost.
Restart Microsoft InfoPath
Please tell Microsoft about this problem.
We have created an error report that you can send to help us improve Microsoft InfoPath.
We will treat this report as confidential and anonymous.
I have submitted the report.
I have seen many threads when searching for an explanation for this
behavior and can't find any specific reason(s) why IP 2010 would be
crashing after clicking the Submit button, and IP 2010 gives no detailed
error message. I have seen various explanations
that assert that multiple Repeating Tables are the cause, which makes
little sense considering IP 2003 didn't have any issues with them.
The strange thing is that the CheckIn operation completes as expected
and I can see that the CheckIn SOAP call completed successfully when I
look at the XML document in a text editor. The issue causes end users to
question whether or not their changes were
saved since it looks like the program has crashed.
Does anyone here have any idea what changed from IP 2003 to IP
2010 that might cause this? It makes absolutely no sense. I can provide
relevant screen shots and code if necessary.
Regards,
-Kyle