M
Mike
I am having a problem with a VB.Net 2.0 Windows application.
When the user selects an item in the lookup box, It uses ADO to
retrieve data into a SQLDataReader, It then bind's this to a data
grid. This works fine normally and the stored procude will take less
than a second to run. I am also closing and disposing the connection
at then end of the task.
Problem comes if you leave the application open for a few minutes not
doing anything then come back to it. When you come back and click the
lookup box or try anthing else which uses ADO in the application, you
get:
Timeout expired. The timeout period elapsed prior to completion of
the operation or the server is not responding.
Can anybody shed any light on this?
When the user selects an item in the lookup box, It uses ADO to
retrieve data into a SQLDataReader, It then bind's this to a data
grid. This works fine normally and the stored procude will take less
than a second to run. I am also closing and disposing the connection
at then end of the task.
Problem comes if you leave the application open for a few minutes not
doing anything then come back to it. When you come back and click the
lookup box or try anthing else which uses ADO in the application, you
get:
Timeout expired. The timeout period elapsed prior to completion of
the operation or the server is not responding.
Can anybody shed any light on this?