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 (0x800A0411) Name redefined: 'adOpenForwardOnly'

  • 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:
    50
  • Date Created
    Tuesday, November 23, 2010
  • This Article Has been Viewed
    3056 times
  • Short Desc
    When you declare a Variable within your pages, you might include it more than once, and this will cause the error.
  • Details
    When usng the ADOVBS.inc file, you might mistakenly use it more than once within your pages, and if you do, you will receive the following error.

     
    Microsoft VBScript runtime (0x800A0411)
    Name redefined: 'adOpenForwardOnly'
    /ADOVBS.INC, line 14
  • Recreate Issue
    To recreate this error, include the ADOVBS.inc file within your pages more than once.
  • Resolve Issue
    To correct this issue, make sure that you only include the ADOVBS.inc file one time within your files.
    This also applies to using DIMs

    If you using

    DIM MyVar
    and then later on, you declare the DIM again.

    DIM MyVar
    You will get this error as well.