Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataReader is already opened
Message
De
16/08/2010 12:59:25
 
 
À
16/08/2010 11:43:42
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01476630
Message ID:
01476658
Vues:
49
My guess is that you had an error elsewhere (could have been a network issue, who knows) and even if you handled the error you may have neglected to close or dispose something that should have been. That will most likely be tough to track down.

~~Bonnie



>I have an operation which is executed every minute for years and once I had this:
>
>"There is already an open DataReader associated with this Command which must be closed first."
>
>This is the SQL that generated it:
>
>
>DECLARE @Numero Integer
>
>SET @Numero=1
>
>SELECT Robot.NoServer,Robot.Run FROM Robot (NOLOCK) WHERE Robot.Numero=@Numero 
>
>
>I am not sure if this could have been related to a network issue. This has happened a few months ago and I am only making a checkup on this today. When a SQL command generates this error, could it be related to such a situation?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform