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:
Microsoft VBScript runtime (0x800A01AD) ActiveX component can't create object: 'ADODB.Connections'
- Article ID:
46 - Date Created
Friday, November 19, 2010 - Last Updated
Friday, November 19, 2010 - This Article Has been Viewed
3072 times - Short Desc
Creating the Connection the Server Object for your connection string, sometimes you may misspell the Connection with Connections. This will cause a VBScript runtime error. - Details
When creating the connection ServerObject, you sometimes might misspell the Connection(s) name. If you do, this is the error you will receive.
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'ADODB.Connections'
/ACN.asp, line 7
This error will only happen when you use CreateObject instead of Server.CreateObject. (View related Articles below) - Recreate Issue
To recreate the error
set cn = CreateObject("ADODB.Connections")
Notice that the ADODB.Connections
There is not suppose to be an (s) at the end of Connection - Resolve Issue
to properly write out the connection object.
set cn = CreateObject("ADODB.Connection")
Notice that there is no s at the end of Connection
--------
Related Articles
Server object, ASP 0177 (0x800401F3) Invalid class string«
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 16826