This article discusses issues relating to SQL connection.
The following message will be displayed when too many connections to a SQL database have been made.
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.

Solution
To resolve this message:
When attempting to connect to a SQL database that is hosted on a network you may get the message:
Or
The following may resolve connection issues.
On the machine hosting the SQL database:
To change the Status:
To change the Startup Type:
This will ensure that if the machine reboots the service will start automatically.
To check permissions:
This ensures the account used to log onto the machine, hosting SQL, can access the database.
It could be that SQL Server is not configured for remote access.
To change this setting please refer to the article How To: Configure SQL Server for Remote Access.
Other Firewalls will have similar features to diagnose SQL connection issues.
Temporarily turn off Windows Firewall:
Please restore the Firewall to its original state once troubleshooting has been done.
Configure Windows Firewall:
If connection to the SQL Server is now available, Windows Firewall can be turned back on and configured to allow access to SQL Server.
There are two methods for configuring Windows Firewall for SQL Server.
Choose one of the two methods below, that best suits your IT policy:
| Knowledge Base Article Ref: | KB13103032 |
|---|