Web application causing server error

ams
Newbie Member
4May2011,12:30   #1
ams's Avatar
we developed .net web application with mysql data base which runs in intranet. It causes server error once or twice in day.. but when we rebild it it again work fine for few hours..
Go4Expert Founder
4May2011,14:16   #2
shabbir's Avatar
What server error?
ams
Newbie Member
4May2011,14:22   #3
ams's Avatar
"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."

I have seen this warning in eventlog not always but some times. But when it crashes I can connect database throgh my local machine by using same connection string.
Go4Expert Founder
4May2011,16:19   #4
shabbir's Avatar
See if application has any memory leaks
ams
Newbie Member
4May2011,16:30   #5
ams's Avatar
actually application uses layers. In data layer i opened connection closed it and also disposed. Also I written backgroud process which kill all sleeping connection which runs every ten minutes and kills conection in sleep mode more than 200 sec... Earliear this problem was not there from last month it suddenly started...
ams
Newbie Member
5May2011,09:10   #6
ams's Avatar
forums.iis.net/t/1159066.aspx please look at this link