I have a very simple web application with 5 tables and one user. I keep getting timeout errors stating the max pool connection has been reached. Every opportunity to use an IDataReader the connection is manually closed. What am I doing wrong?
views:
96answers:
1
+1
A:
Try calling LoadAndCloseReader() instead of just Load(). The Load() method opens a DataReader internally. See also: http://stackoverflow.com/questions/690828/is-connection-pooling-working-correctly-in-subsonic
ranomore
2009-06-16 05:16:11