Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Database session timeout setting
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01335327
Message ID:
01335444
Vues:
16
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform