Hi,
Is the application running correctly even once.. timed our error can occur for many reasons.. Like if you are selecting a huge amount of data from a huge table , it may result in timeout .
Please write your code as well and what you are trying to do.