cdosys.dll and sending mail

Discussion in 'ASP .Net' started by martin, Jul 15, 2004.

  1. martin

    martin Guest

    Hi,

    I have been using the system.web.mail namespace to send mail in my
    application and every thing has been working fine.

    however to today I an unable to send mail from my machine using the methods
    from this namespace in the usual manner.

    The error that I get from .net is

    Could not create 'CDO.Message' object.

    I decieded to unregister and then re-register cdosys.dll (I am using an XP
    machine)

    however registering that dll gave me the following error

    DllRegisterServer in cdosys.dll failed.
    Return code was: 0x800704da

    can anybody please explain how I actually get the functionality back to send
    mail.(I think this will involve registering cdosys.dll, but I am stumped why
    I can't do this using regsvr32)

    cheers

    martin.
    martin, Jul 15, 2004
    #1
    1. Advertising

  2. martin

    iamsam

    Joined:
    Sep 3, 2009
    Messages:
    1
    Can't register cdosys.dll after unregistering it.

    This solution was applied to Windows 2003:

    I was able to register cdosys.dll in three easy steps once I found out that OfficeXP registers a dll called cdoex.dll that prevents cdosys.dll from being registered unless cdoex.dll is unregistered first.

    Steps:

    1. unregister CDOEX.dll ( path = c:\program files\common files\microsoft shared\cdo\ )
    2. register CDOSYS.dll ( path = c:\windows\system32\ )
    3 register CDOEX.dll
    iamsam, Sep 3, 2009
    #2
    1. Advertising

  3. martin

    wolfgangiron

    Joined:
    Jan 4, 2012
    Messages:
    1
    Works


    :lol: Dear iamsam, thank you so much, i had this problem, and your solution, saved me.
    Thank you very much
    wolfgangiron, Jan 4, 2012
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    1,321
  2. Steve Y.

    CDOSYS.dll System.Web.Mail

    Steve Y., Sep 3, 2003, in forum: ASP .Net Security
    Replies:
    8
    Views:
    193
  3. Serge Myrand

    Problem sending mail (CDOSYS)

    Serge Myrand, Aug 9, 2004, in forum: ASP General
    Replies:
    2
    Views:
    276
    Serge Myrand
    Aug 9, 2004
  4. Replies:
    4
    Views:
    268
  5. Jerry C

    CDO.dll or cdosys.dll

    Jerry C, Aug 14, 2008, in forum: ASP General
    Replies:
    4
    Views:
    388
    Steven Cheng [MSFT]
    Aug 22, 2008
Loading...

Share This Page