c# - ASP - the timeout period elapsed prior to obtaining a connection from the pool -


i'm having trouble following error:

"timeout expired. timeout period elapsed prior obtaining connection pool. may have occurred because pooled connections in use , max pool size reached."

it seems error in following code block:

da = new sqldataadapter(command); command.commandtimeout = 100; da.fill(dt); conn.close(); return dt; 

it's hard such small amount of code in question error can occur when you're not disposing of db connection objects properly. "using" statement may out of problem. there issue same error message , code examples here: timeout expired. timeout period elapsed prior obtaining connection pool. may help.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -