On a machine that is running IIS 6.0 and SQL Server 2005, where are the different locations that can limit the max number of database connections?
|
If by "number of connections" you mean the size of the connection pool, then this applies:
Source: SQL Server Connection Pooling (ADO.NET) The default size of connection pools is 100. You can change that size in in the connectionstring itself, but you should have a good reason to do that. In most cases where you run out of connections, they are leaking (=not properly closed) in the application. |
|||
|
|
|
If you go to the server properties in Management studio, on the connections page, there is a Maximum number of concurrent connections setting. Right click on the server in object explorer and select properties. Click Connections in the left-hand pane. |
|||
|
|
|
Properties on the SQL server instance. Right-click on the instance in Mgmt Studio and get properties the click on Connections. Are you having a specific problem with connections? |
|||
|
|