Forum Moderators: open

Message Too Old, No Replies

register a library

how to register a library in asp

         

rpshah1208

11:46 am on Apr 20, 2006 (gmt 0)

10+ Year Member



i have problem in asp when i want to send a mail to report someone.
i am sending you code so pls send me solution as soon as possible.

my code is:

set Mailer = Server.CreateObject("CDO.Message")
mailer.HTMLBody = strMailBody
Mailer.Subject = "Changes at Final Submit of Section - I for Program "& iProgramId
Mailer.From = "person@example.org"'"postmaster@example.org"
Mailer.To = "person@example.org"

Mailer.Send

set Mailer = nothing

error comes is:

Error Type:
Server object, ASP 0177 (0x8002801D)
Library not registered.

[edited by: Woz at 12:57 pm (utc) on April 20, 2006]
[edit reason] Examplified Emails [/edit]

paulanthony

5:53 pm on Apr 20, 2006 (gmt 0)

10+ Year Member



Sounds like a dll is amiss. Try

regsrv32 c:\winnt\system32\cdo.dll

If you are on a hosted webspace tell ur techies. Or you could try defaulting back to CDONTS code.

carguy84

3:48 pm on Apr 21, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try using CDONTS.