Error 'Max Pool size was reached' in ASP.Net

Last Reply on Jun 15, 2016 06:50 AM By Shashikant

Posted on Jun 15, 2016 06:48 AM

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 .
that is

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=198.11.11.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.

Thanks with
Paul.S

 

This question does not have replies that have been liked.