Default Command Timeout Value in Framework

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.
 

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