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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Urgent:Problem with ASP Mail Component(CDONTS)

Status
Not open for further replies.

choudary

Programmer
Sep 3, 2000
19
ID
I am using CDONTS to send e.mails in my ASP. The problem i am getting is, The Instance of the Mail Object is getting created but when i go for using with the methods and properties of the Instance(of mail object) it gives the following error.

"

Microsoft VBScript runtime error '800a01ad'

ActiveX component can't create object

/wip/xmlsearch/SendMail_cvc.asp, line 67

"

But when i check whether the Mail object's instance is created using "isObject(myMail)" (assuming 'myMail' as the object instance) it gives true.

Hope someone would help me out with this,

Thanks.
 
The variable will be set to be of object type and so that is why you will get true for isObject.
Look and see if CDONTS.dll is on your server. It should be in WINNT\System32.
If it is tere check the NTFS permissions and make sure that they are set correctly. Everyone or at least the IUSR_Machinename should have read and execute on the DLL.

James :) James Culshaw
jculshaw@active-data-solutions.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top