0

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?

1 Answers1

1

Try calling LoadAndCloseReader() instead of just Load(). The Load() method opens a DataReader internally. See also: Is connection pooling working correctly in Subsonic?

Community
  • 1
  • 1
Dave Neeley
  • 3,526
  • 1
  • 24
  • 42