Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP.NET locks files
Message
From
13/05/2006 11:57:22
 
 
To
13/05/2006 11:50:18
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
VB 8.0
Miscellaneous
Thread ID:
01121566
Message ID:
01121665
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform