I get a terrible error:
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.
In sql, I see that I open only 116 connections:
SELECT
DB_NAME(dbid) as DBName,
COUNT(dbid) as NumberOfConnections,
loginame as LoginName
FROM
sys.sysprocesses
WHERE
dbid > 0
GROUP BY
dbid, loginame
;
116 seems low and I am not currently installing MaxPoolSize. What is the default MaxPoolSize?
I also made sure that all my connections were closed at the end.
source
share