Home  |  About  |   Search   

What's New
Table Of Contents
Credits
Netiquette
10 Commandments 
Bugs
Tables
Queries
Forms
Reports
Modules
APIs
Strings
Date/Time
General
Downloads
Resources
Search
Feedback
mvps.org

RunCommand Constants

Terms of Use


 

Bugs: Solving VBS Error '800a01ad' on CreateObject in ASP/IIS

Author(s)
Dev Ashish
  This is a particularly painful error message to track down.  I can only recommend following some steps, in the hope that one of them solves the problem.

    You may encounter this error message in your ASP code,

VBScript Runtime Error: '800a01ad'
ActiveX component Can't create object

    This typically occurs on lines where you're attempting to open a connection through ADO.

Set Conn=CreateObject("ADODB.Connection")

    With MS Tech Support's help, this error message was resolved by following these steps.

  • Make sure you have MDAC 2.x installed.

  • Register \program files\common files\System\MSADO15.dll with RegSvr32.

  • Make sure IUSR_<Server> AND IWAM_<Server> accounts both have Read/Execute NTFS rights on the following folders cascaded down.
        - \program files\common files\System
        - \Winnt
        - \InetPub\WWWRoot

  • Open Console and make sure that there's a valid IP Address in "Default Web
    Site
    "'s Properties.  If the permissions were messed up before and you opened
    Console, it's likely that the IP would change to "All Unassigned".

  • Reboot server.  Don't assume that stopping/starting the service will work
    correctly.


1998-2009, Dev Ashish & Arvin Meyer, All rights reserved. Optimized for Microsoft Internet Explorer