Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timeout when deleting
Message
 
À
21/02/2014 06:56:04
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01594874
Message ID:
01594914
Vues:
49
Frank,

It may be either the ConnectionTimeout or the CommandTimeout. Most likely the CommandTimeout.

The connection timeout can be set in the connection string in the App.Config.
“server=(local);uid=sa;pwd=;database=NorthWind;Connect Timeout=30;”

The CommandTimeout has to be set on the SqlCommand itself. You can override mmDataAccessSql.CreateDeleteCommand() and set it there.
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform