Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database session timeout setting
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01335327
Message ID:
01335444
Views:
17
>All,
>
>I am guessing this is an easy question to answer.
>
>How do I set the database timeout property for a web application? I do not see any setting for this in my web.config file nor in my connection string and I believe it is defaulting. I want it to be set to about 60 seconds and it appears to be defaulting to 10 or 20 seconds.
>
>Is this in the web.config file or somewhere else. Or perhaps it can be set on an individual page?
>
>Thanks in advance.

Time waiting for a connection is controlled by ConnectionTimeout setting in the connection string.
Time waiting for a query is controlled by DbCommand.CommandTimeout
HTH,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform