Throttle Data Connection Timeouts
Scenario/Problem: You need to increase or decrease the data connection timeout limit.
Solution: Use the Set-SPInfoPathFormsService cmdlet with the data connection timeout parameters.
Your form attempts to connect and access data sources based on your configured data connections. If the data source is inaccessible, busy, or down, InfoPath Forms Services needs a way to time out the connection so that the form or the browser doesn’t stop responding.
Use the -DefaultDataConnectionTimeout and -MaxDataConnectionTimeout parameters with the Set-SPInfoPathFormsService cmdlet to set the timeout values, as shown in Listing 12.1.
Listing 12.1. Data Connection Timeout Cmdlet Line
Set-SPInfoPathFormsService -DefaultDataConnectionTimeout ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access