Default Command Timeout Value in Framework

  • Thread starter Thread starter eellman
  • Start date Start date
E

eellman

Does anyone know if you can change the default Command Timeout for
calling a stored procedure in the Framework (not on the command object
in code)? Is it a registry setting, overrideable on some framework
config file like the machine.config file, or is it a hard coded value
in the Framework.

I know I can include the command timeout for a dbcommand object and
override the default but I have a program that someone lost the code
for. We are getting timeouts and I didn't want to try and reverse
engineer the code to add in the timeout for the command. I was hoping
a registry entry change (or whereever this is hiding) would be able to
get me over the hurdle of the timeouts until it's rewritten.

Thanks in advance.

Erik.
 
Back
Top