Advertisement

01.17.2008 at 07:43AM PST, ID: 23090474
[x]
Attachment Details

How to change default SQL command timeout through config file

Asked by dgelinas in MS SQL Server, .NET Framework 2.0

Tags: timeout, sql, default, command

Hello,

I need to be able to update the SQL command default timeout of 30 to something greater.  I KNOW this can be done super easy through code, however, I do not have that luxury and need to do it through a config file for deployment reasons.  I've been researching where this can be done... looking at app.config, machine.config, web.config and haven't had any luck.  Closest I've found is SQL transaction timeout but that's transaction not command.

Start Free Trial
 
Loading Advertisement...
 
[+][-]01.17.2008 at 07:49AM PST, ID: 20682391

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.17.2008 at 07:50AM PST, ID: 20682408

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]01.17.2008 at 08:51AM PST, ID: 20682980

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.17.2008 at 09:09AM PST, ID: 20683162

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.17.2008 at 11:13AM PST, ID: 20684348

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.17.2008 at 11:25AM PST, ID: 20684455

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]01.17.2008 at 11:28AM PST, ID: 20684478

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.17.2008 at 06:40PM PST, ID: 20687486

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.18.2008 at 01:01AM PST, ID: 20688855

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: MS SQL Server, .NET Framework 2.0
Tags: timeout, sql, default, command
Sign Up Now!
Solution Provided By: drydenhogg
Participating Experts: 3
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_EXPERT_20070906