Increasing Timeout for Dataconnection for Infopath

B

Brendan

How do I increase the Timeout of a Dataconnection from 30 sec to 300 sec? I
increased my DSN connection to 5 min but I still get a msg saying timedout in
30 sec.
 
F

Franck Dauché

Hi,

Did you try something such as:
var oAdapter = XDocument.DataObjects ("MyDataConnection").QueryAdapter;
oAdapter.Timeout = 300;

Regards,

Franck Dauché
 

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