Data Connection timeout/connection error

B

BillT

My form hits up many secondary data sources for data and occasionally I get
the I'm-sure-familiar error: (getSystem is my data connection)
The query cannot be run for the following DataObject: getSystem
InfoPath cannot run the specified query.
InfoPath either cannot connect to the data source or the service has timed
out.

This error only occurs intermittently and I'm pretty sure is a failure from
the webservice and/or server side, but I'm trying to figure out how to
prevent it from popping up an error message to the user. The default timeout
is 30 seconds but this error occurs much sooner than that, so I figure it's a
connection error on the server side (as previously mentioned). Is there some
code or property to force a retry? Or assign an error handler that can
perform the retry? Or just swallow the error message so that I can then
prompt the user to retry the query? Anyone had any experience with these?

Thanks,
Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top