How to produce "Timeout Expired" ?

  • Thread starter Thread starter Agnes
  • Start date Start date
A

Agnes

My client said when he got "Timeout Expired", once he press the button.
whole applciation is quit.
I want to "produce the same error " in my development environment but don't
know how to do ?
Thanks a lot .
 
Agnes said:
My client said when he got "Timeout Expired", once he press the button.
whole applciation is quit.
I want to "produce the same error " in my development environment but don't
know how to do ?
Thanks a lot .

You need to give us more information. What object are you using that
could be timing out?

Chris
 
I am using vb.net + MS SQL
the timeout seems occured when I called some SP , ( I am using
executer.reader to execute the SP)
it sometimes will prompt "Timeout " and then quit the application.
User complaint that they input a lot of details , if there is timeout error,
it quit the applciation and lost everyting .

As the client is located in China's branch, I cannot stay there to check the
system.
Now, I want to produce similar error in my office, and solve it step by
step.
 
Agnes said:
I am using vb.net + MS SQL
the timeout seems occured when I called some SP , ( I am using
executer.reader to execute the SP)
it sometimes will prompt "Timeout " and then quit the application.
User complaint that they input a lot of details , if there is timeout error,
it quit the applciation and lost everyting .

As the client is located in China's branch, I cannot stay there to check the
system.
Now, I want to produce similar error in my office, and solve it step by
step.

Well your first step is to place an exception around the area of code.
This will stop the "exiting" from happening because you can handle the
error correctly. You will also probalby get a more detailed error in
the exception object.

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top