If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Microsoft VBScript runtime error '800a01ad'

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-20-08, 05:10
plsh plsh is offline
Registered User
 
Join Date: Nov 2004
Posts: 253
Microsoft VBScript runtime error '800a01ad'

I am getting the following error in my regular ASP VB script section when I use the line
Server.CreateObject("dll name")

Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object

The dll I am using is registered on the server with no errors when doing so.

Does anyone know what can be done to fix the problem? Please can someone help.

Server is Win2003 64 bit SP 2

Last edited by plsh; 02-20-08 at 05:17.
Reply With Quote
  #2 (permalink)  
Old 02-20-08, 06:15
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
You can't simply create the object; you have to "assign" it to an object variable.

Example
Code:
<%
set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open "c:/webdata/northwind.mdb"
%>
__________________
George
Twitter | Blog
Reply With Quote
  #3 (permalink)  
Old 02-20-08, 06:20
plsh plsh is offline
Registered User
 
Join Date: Nov 2004
Posts: 253
Yes I know that, and I have done so ie:
Set obj = Server.CreateObject("DBExec.CExec")

The part that is falling over is the Server.CreateObject, that is why I only mentioned that part.
Reply With Quote
  #4 (permalink)  
Old 02-21-08, 14:55
MadDog986 MadDog986 is offline
Registered User
 
Join Date: Feb 2008
Posts: 4
Where did you get this component?

Its possible you are trying to use a component that was not designed to be called in this manor.
Reply With Quote
  #5 (permalink)  
Old 02-27-08, 05:47
plsh plsh is offline
Registered User
 
Join Date: Nov 2004
Posts: 253
The component works well on other servers. The only difference now is that the server I am trying to get this to work on is a Win 2003 x64, where the other had been Win 2000 x86, can this be the problem and if so is there a way for the object to work on a 64 bit server?
Reply With Quote
  #6 (permalink)  
Old 02-27-08, 06:17
Marvels Marvels is offline
Registered User
 
Join Date: Jul 2003
Location: Amsterdam, Nederland
Posts: 449
Mdac

did you run the latest Mdac version think you need the 2.8 version

see allso :

http://msdn2.microsoft.com/en-us/library/ms945464.aspx

http://sleepyhead81.*************/200...ection-in.html
__________________
Greetz Marvels -^.^-
Developments : VB4 Through .Net; Basic; DOS ; CNC ; Sinclair
Databases : SQL Server Through 2005; Access 3 Through 2003 ; Oracle 8 & 9.i ;
OS : Win 3.11 Through XP ; NortonComander ; DOS
Reply With Quote
  #7 (permalink)  
Old 02-28-08, 02:22
plsh plsh is offline
Registered User
 
Join Date: Nov 2004
Posts: 253
As far as I can establish the server does have the latest MDAC.

The component is a Microsoft component and the description of the component when looking at the properties is Help Desk Sample DB Executive Components
Reply With Quote
  #8 (permalink)  
Old 02-28-08, 04:19
Marvels Marvels is offline
Registered User
 
Join Date: Jul 2003
Location: Amsterdam, Nederland
Posts: 449
rights

Are you able to create other objects (dll)

Otherwise see if you got the rights to call to the dll
__________________
Greetz Marvels -^.^-
Developments : VB4 Through .Net; Basic; DOS ; CNC ; Sinclair
Databases : SQL Server Through 2005; Access 3 Through 2003 ; Oracle 8 & 9.i ;
OS : Win 3.11 Through XP ; NortonComander ; DOS
Reply With Quote
  #9 (permalink)  
Old 03-04-08, 05:31
plsh plsh is offline
Registered User
 
Join Date: Nov 2004
Posts: 253
I am able to create other objects and did have rights to the dll and in the end, a very long day yesterday, rewrote everything with a dll that would work and do what I needed. Thanks to all for your suggestions.
Reply With Quote
  #10 (permalink)  
Old 07-15-10, 05:22
plsh plsh is offline
Registered User
 
Join Date: Nov 2004
Posts: 253
Very strange, the problem just went away after numerous reboots.....very strange.
Reply With Quote
  #11 (permalink)  
Old 01-23-11, 18:12
ravendawson ravendawson is offline
Registered User
 
Join Date: Jan 2011
Posts: 1
You know you need to fix activex error when you see the message runtime error 800a01ad activex. So, you must check the health of your registry and do the necessary repairs. However, you should be knowledgeable on computers so you do not make things worse. Then again, you can always download a registry cleaner to clean up your registry. Just make sure that you get it from a reliable source.
Reply With Quote
  #12 (permalink)  
Old 03-18-11, 05:06
plsh plsh is offline
Registered User
 
Join Date: Nov 2004
Posts: 253
Registry is fine, done a check. What I do not understand is how can it not work on one machine and on another, same specced, machine at the same time it does work? And the code is associated with the Session Variables.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On