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

javascript - Why Selenium can't find an element that is graphically visible -

java - How to compare two classes -

mysql - Gateway Timeout Error on Insert 70000 record using Hibernate in Java -