3
Reply

How to make infinite timeout in Connection String?

Rahul Chavan

Rahul Chavan

8y
6.1k
0
Reply

    Connect Timeout=30 means, within 30second sql server should establish the connection.other wise current connection request will be cancelled.It is used to avoid connection attempt to waits indefinitely.

    by declaring timeout in web-config file

    connection.ConnectionTimeout = 0; // This is not working A value of 0 indicates no limit (an attempt to execute a command will wait indefinitely).