How To Resolve-All Pooled Connections were in use and Max Pool size was reached Error.Hi Developers ,
In Two of my projects
When i am try to Insert,Update a Record in my Website , it throws the following Error Messsage on Local and Live .
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.
One project the problem has been resolved successfully by me.
now it is working fine on local and live.
My using code:
<add name="labmate_constr" connectionString="Data Source=220.127.116.11;Initial Catalog=labmate;
Min Pool Size=0;Connection Lifetime=0; Max Pool Size=1500;
Connection Timeout=30;Pooling=true;User ID=tr_labmate;Password=yyyyy" providerName="System.Data.SqlClient" />
But another one i can't able to resolve and run it.
Am used the same code but still i am get the error message.
So give me some suggestion to resolve this error.