Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBScript run time error 800a01 ad

Status
Not open for further replies.

parrot

Programmer
Apr 26, 2001
5
US
Trying to use cdonts in an asp document with the line:
Set myCDONTSMail = CreateObject("CDONTS.NewMail")

and I get the following error:

Microsoft VBScript run time error 800a01 ad
Activex Component can't create object

Any suggestions?
 
The VBScript 5.5 runtime could not instantiate the object for you because the object’s class is not registered in the system registry, or one or more of the associated dynamic-link libraries (DLLs) are not available. Alternately, a DLL required by the object may be unusable, either because it can't be found, or it is corrupted.

To correct this error

Make sure all associated DLLs are available. For example, the Data Access Object (DAO) requires supporting DLLs that vary among platforms. You may have to rerun the setup program for such an object.
Internet Explorer may be trying to create an object for you, but you do not have the correct security permissions set in Internet Explorer. Reset the Internet Explorer security setting and try again.
br
Gerard
(-:

Better a known bug then a new release.
 
Thank you. I checked the supporting files for cdonts.dll and they are all version 5.xxx while the one's on my NT4 Server sp6a iis4 are all version 4. Should I replace the supporting files, look for an older version of cdonts.dll, or put copies of the version 5 supporting files in a subdirectory with cdonts.dll?

Thanks in advance.
 
How do I force vbscripts to run on the server? I have IIS 4.0 on an NT 4.0 box. I'm not getting any errors but I believe the scripts are running on the client stations.
 
emboff, it's a good idea to start a new thread if you have a new question --

But as far as making the scripts run on the server, you can say:

<script language=vbscript RUNAT=server>

'blahblahblah

</script>

or, enclose them in

<%

'blahblahblah

%>

tags. The second method is preferred because it's quicker and easier.

good luck, and don't be afraid to start your own thread next time. :)

Paul Prewett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top