CFF KB - Carrz-Fox-Fire Promotions Knowledge Base
CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.Knowledge Base
- Breadrumbs:
ADODB.Command error '800a0e7d' The connection cannot be used to perform this operation
- Article ID:
106 - Date Created
Tuesday, February 22, 2011 - This Article Has been Viewed
4133 times - Short Desc
Making sure that your connection string is not closed until the end of the page will prevent you from receiving the following error 800a0e7d. - Details
If you have closed your database connection and it is still needed, you will receive the following error.
ADODB.Command error '800a0e7d'
The connection cannot be used to perform this operation. It is either closed or invalid in this context.
/Profile.asp, line 22 - Recreate Issue
To recreate this issue:
Close your connection to your database prior to trying to creating a new RecordSet. - Resolve Issue
To correct this issue.
Make sure that your Database connection is closed at the last line of your page.
This is can be done easily with a footer.asp page.
Placing your<%
connection.close
set connection=Nothing
%>
At the bottom of the footer.asp page and placing this file at the end of your page
Via: <!--#include file="footer.asp"-->
This will stop these types of issues from happening in the future.
Share With Friends (Updated 6-8-2010)
Recent Articles
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24695
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21297
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19544
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 17785
- The backup set holds a backup of a database other than the existing 16825