Error :Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have...
Posted on 2009-12-23
In my Asp.net web application when i try to access a web-service after sending my credentials i get the exception
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. "
But when i try to access the same web service url on my localhost , while debugging my local application in VS , it runs perfectly and provides me with xml response.
I am not able to fix the problem I have tried following things :
1) Increased the connection timeout on my web server.
2) Set the pool size to maximum .
But still it persists.
Please help , I am confused about the location of problem , my web server or the server from where i am accessing the web service .