Hi again my dear friends,
I am developing an application that must do a request to Twitter in a given period of time.
To do this, I put in my site's MasterPage a Timer, and in the Tick event of the Timer I do the request to Twitter.
It's causing the following error:
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.
So, I removed the request code from the Tick event of Timer, and puted it in the Page_Load MasterPage's event, but I got the same error.
From what I could see the LinqToTwitter library uses ajax to make an asynchronous requests to Twitter, correct?. The error I'm having is exactly in this snippet.
Any idea how I can solve this problem?
ps: I know, request in the timer or when the page is load is not the better to do, but, is what a can do... =/