KB Issue
When you declare a Variable within your pages, you might include it more than once, and this will cause the error.
Issue 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
Copy
Search Site
Search Google
file one time within your files.
This situation also applies to using DIM
Copy
Search Site
Search Google
s
If you use DIM MyVar
Copy
Search Site
Search Google
and later redeclare DIM MyVar
Copy
Search Site
Search Google
.
You will get this error as well.