Connection Timeout

G

Guest

I am trying to run as stored procedure in vb.net. When I try to execute the sp I keep getting a Connection timeout error. I have increased my timeout property but it continues to timeout. This sp may take quite a long time to run.

Can someone help?
 
W

William \(Bill\) Vaughn

Connection timeout has nothing to do with how long the command takes to
execute.
If you are in fact getting connection timeout errors, your connection pool
might be full.
If you're getting command timeout errors, you need to increase the
commandtimeout property of the Command object being executed.

hth

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________

JDupont said:
I am trying to run as stored procedure in vb.net. When I try to execute
the sp I keep getting a Connection timeout error. I have increased my
timeout property but it continues to timeout. This sp may take quite a long
time to run.
 

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

Top