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.
  • Breadrumbs:
  • Microsoft VBScript runtime (0x800A01A8) Object required: 'closing'

  • CFF Knowledge Base - Share With Facebook CFF Knowledge Base - Share on Twitter CFF Knowledge Base - Share on Reddit CFF Knowledge Base - Share on Digg It CFF Knowledge Base - Share on Stumble Upon It CFF Knowledge Base - Share on Delicious
    Share With Friends (Updated 6-8-2010)
  • Article ID:
    25
  • Date Created
    Tuesday, October 5, 2010
  • Last Updated
    Wednesday, November 17, 2010
  • This Article Has been Viewed
    1905 times
  • Short Desc
    When you close your recordset or database connectin, you close when nothing is expected
  • Details
    When you are closing your recordset or database connection string, you must close it properly, if not, then you will get this error.


     
    Microsoft VBScript runtime (0x800A01A8)
    Object required: 'closing'
    page.asp, line 23
  • Recreate Issue
    To recreate this error.

    <%
    rs.close
    set rs = close
    %>
  • Resolve Issue
    To close your recordset and database properly, make sure the it is written out correctly.

    <%
    rs.close
    set rs = nothing
    objConn.close
    set objConn = nothing
    %>