Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
SQL
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



iis virtual directory create my application and login to user. but not login the page to automatically go to default page. please help me
Posted
Comments
Thomas Nielsen - getCore 9-Apr-14 5:27am    
Please elaborate your question, what are you connecting with?
Obvious suggestion would be to increase the pool size and or connection timeout, but the way you connect is important in that.

This is not a code issue but a technical issue and there are several different reasons that can cause it. It can be a SQL setting, a connection string issue, or even a setting on your IIS app pool.

I would suggest googling the error and then working through the suggestions until you find what it is in your environment that is causing the problem.
 
Share this answer
 
You've given us nothing to go on at all. Everything anyone says is just guessing.

Could it be that you're not closing connections to a database when you're done using them?? Don't make the mistake of opening a connection once and using it all over your code.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900