Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASP.NET locks files
Message
De
13/05/2006 11:57:22
 
 
À
13/05/2006 11:50:18
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB 8.0
Divers
Thread ID:
01121566
Message ID:
01121665
Vues:
19
This message has been marked as the solution to the initial question of the thread.
Probably all you need to do is to just make sure you close your connection in your catch:
            Catch loError As Exception
                oApp.cError = oApp.ErrorSetup(loError, oApp.Debug(cSQL))
                oConnection.Close()
            End Try
~~Bonnie

>I am not sure if this is related but since last night I am adjusting a SQL Insert syntax to add all the required fields in order to avoid the null error message. So, as long as all those fields are not added, I am getting this error. So, I suspect that because the error occurs on the SQLExec() command that it gets stuck in memory. In such circumstances, what should I do to make sure this is all cleaned up?
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