S
Stu Carter
Hi,
ENV: Windows 2003, Visual Studio.Net 2003, .Net Framework 1.1
We have a rather large application that uses ADO.Net to access a SQL
database. As the database grows, we are seeing SQLCommand timeouts. So we
added code to configure the SQLCommand.CommandTimeout property in areas
where we deal with potentially large amounts of data.
However, we are now seeing other areas of the product becoming prone to
Command timeouts. So, the question is - without having to add code to
explicitly change every SQLCommand.CommandTimeout, is there any way to
change the default value from 30 seconds? Using an app.config setting or
regkey etc?
All those code changes would be painful, but additionally, a version has
already shipped to customers, so we don't want to be distributing a large
patch for this if we can avoid it.
I have searched Google groups and MSDN, but no joy.
Thanks for your help,
Stuart
ENV: Windows 2003, Visual Studio.Net 2003, .Net Framework 1.1
We have a rather large application that uses ADO.Net to access a SQL
database. As the database grows, we are seeing SQLCommand timeouts. So we
added code to configure the SQLCommand.CommandTimeout property in areas
where we deal with potentially large amounts of data.
However, we are now seeing other areas of the product becoming prone to
Command timeouts. So, the question is - without having to add code to
explicitly change every SQLCommand.CommandTimeout, is there any way to
change the default value from 30 seconds? Using an app.config setting or
regkey etc?
All those code changes would be painful, but additionally, a version has
already shipped to customers, so we don't want to be distributing a large
patch for this if we can avoid it.
I have searched Google groups and MSDN, but no joy.
Thanks for your help,
Stuart