SQL Client Timeout errors

R

RSH

Hi,

I have an application that creates a call to a SQL Server stored proc. The
stored proc can take a while to perform the necessary tasks, in some cases
as long as 12 minutes. I am using the SQLClient in .Net and I am getting
SQL timeout errors at around 30 seconds. I have tried adding
"ConnectionTimeout=720" to the connection string but it appears to have no
effect.

What can I do to keep the connection from timing out during these longer
processes?

Thanks a ton!
Ron
 
G

Guest

RSH,
It's not your connection that's timing out, its your SqlCommand.
Increase the CommandTimeout.

Peter
 

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