Can not use 'CDO' any long?

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Can not use 'CDO' any long?

    Hi,

    I don't know why, when I use MailMessage to send email I get a error "Could
    not create 'CDO.Message' object". But it used to work. What I can recall is
    I installed Win2K Sp4 and terminal server. The code I used to send the email
    follows:

    MailMessage Message = new MailMessage();
    Message.BodyEncoding = System.Text.Encoding.UTF8;
    Message.To = tbEmail.Text;
    Message.From = "jone_123@hotmail.com";
    Message.Subject = "Thanks";
    Message.Body = "test";
    SmtpMail.Send(Message);

    And I tried to register the cdosys.dll again but get the error
    "DllRegisterServer in cdosys.dll failed. Return code was: 0x800704da".

    I also tried to set the mailroot folder's security to allow ASPNET user
    read/write, still no luck.

    Anyone can help ?

    Thanks in advance

    Jeff


    jeff Guest

  2. Similar Questions and Discussions

    1. Question about a long session timeout (somewhat long)
      I've been told by my developers to increase the asp.net session timeout to 72 hours. Being a server guy, it concerns me because of the obvious...
    2. how long do we have to wait already!?!
      v7 came out when? 1-2 years ago?!? How long do we linux users have to wait for v9 or even v8 for that matter? For pete's sake, I know Adobe has to...
    3. How long
      How long does it take to install 7.0 onto a server remotely? I am thinking of setting up my own box form some of my sites and I am comfortable with...
    4. IDS 7.3* - Long long long checkpoint !
      I've noticed very long checkpoints in the online.log file. What does IDS do in a checkpoint that can take so long ? Environnement: IDS running on...
    5. GC Segfault [LONG]
      Hello Rubyists! let me apologize first: I have no means of condensing my problem to a few lines of code. I'll explain: I'm currently building...
  3. #2

    Default Re: Can not use 'CDO' any long?

    you are missing the
    smtpmail.SmtpServer = "" or whatever you mail server is

    "jeff" <bloodchen@hotmail.com> wrote in message
    news:uYeXcaXVDHA.2164@TK2MSFTNGP10.phx.gbl...
    > Hi,
    >
    > I don't know why, when I use MailMessage to send email I get a error
    "Could
    > not create 'CDO.Message' object". But it used to work. What I can recall
    is
    > I installed Win2K Sp4 and terminal server. The code I used to send the
    email
    > follows:
    >
    > MailMessage Message = new MailMessage();
    > Message.BodyEncoding = System.Text.Encoding.UTF8;
    > Message.To = tbEmail.Text;
    > Message.From = "jone_123@hotmail.com";
    > Message.Subject = "Thanks";
    > Message.Body = "test";
    > SmtpMail.Send(Message);
    >
    > And I tried to register the cdosys.dll again but get the error
    > "DllRegisterServer in cdosys.dll failed. Return code was: 0x800704da".
    >
    > I also tried to set the mailroot folder's security to allow ASPNET user
    > read/write, still no luck.
    >
    > Anyone can help ?
    >
    > Thanks in advance
    >
    > Jeff
    >
    >

    Showjumper Guest

  4. #3

    Default Re: Can not use 'CDO' any longer?

    Thanks. But set smtpmail.SmtpServer = "" or "localhost" does not help.
    And the code works somedays before.

    "Showjumper" <shojumper@grkjashdjkf.com> wrote in message
    news:uz9yBkXVDHA.2016@TK2MSFTNGP09.phx.gbl...
    > you are missing the
    > smtpmail.SmtpServer = "" or whatever you mail server is
    >
    > "jeff" <bloodchen@hotmail.com> wrote in message
    > news:uYeXcaXVDHA.2164@TK2MSFTNGP10.phx.gbl...
    > > Hi,
    > >
    > > I don't know why, when I use MailMessage to send email I get a error
    > "Could
    > > not create 'CDO.Message' object". But it used to work. What I can recall
    > is
    > > I installed Win2K Sp4 and terminal server. The code I used to send the
    > email
    > > follows:
    > >
    > > MailMessage Message = new MailMessage();
    > > Message.BodyEncoding = System.Text.Encoding.UTF8;
    > > Message.To = tbEmail.Text;
    > > Message.From = "jone_123@hotmail.com";
    > > Message.Subject = "Thanks";
    > > Message.Body = "test";
    > > SmtpMail.Send(Message);
    > >
    > > And I tried to register the cdosys.dll again but get the error
    > > "DllRegisterServer in cdosys.dll failed. Return code was: 0x800704da".
    > >
    > > I also tried to set the mailroot folder's security to allow ASPNET user
    > > read/write, still no luck.
    > >
    > > Anyone can help ?
    > >
    > > Thanks in advance
    > >
    > > Jeff
    > >
    > >
    >
    >

    jeff Guest

  5. #4

    Default Re: Can not use 'CDO' any longer?

    Can you test it on another server to see if it works there? Maybe something
    to do w/ SP4...
    "jeff" <bloodchen@hotmail.com> wrote in message
    news:%235ZBO5XVDHA.624@TK2MSFTNGP10.phx.gbl...
    > Thanks. But set smtpmail.SmtpServer = "" or "localhost" does not help.
    > And the code works somedays before.
    >
    > "Showjumper" <shojumper@grkjashdjkf.com> wrote in message
    > news:uz9yBkXVDHA.2016@TK2MSFTNGP09.phx.gbl...
    > > you are missing the
    > > smtpmail.SmtpServer = "" or whatever you mail server is
    > >
    > > "jeff" <bloodchen@hotmail.com> wrote in message
    > > news:uYeXcaXVDHA.2164@TK2MSFTNGP10.phx.gbl...
    > > > Hi,
    > > >
    > > > I don't know why, when I use MailMessage to send email I get a error
    > > "Could
    > > > not create 'CDO.Message' object". But it used to work. What I can
    recall
    > > is
    > > > I installed Win2K Sp4 and terminal server. The code I used to send the
    > > email
    > > > follows:
    > > >
    > > > MailMessage Message = new MailMessage();
    > > > Message.BodyEncoding = System.Text.Encoding.UTF8;
    > > > Message.To = tbEmail.Text;
    > > > Message.From = "jone_123@hotmail.com";
    > > > Message.Subject = "Thanks";
    > > > Message.Body = "test";
    > > > SmtpMail.Send(Message);
    > > >
    > > > And I tried to register the cdosys.dll again but get the error
    > > > "DllRegisterServer in cdosys.dll failed. Return code was: 0x800704da".
    > > >
    > > > I also tried to set the mailroot folder's security to allow ASPNET
    user
    > > > read/write, still no luck.
    > > >
    > > > Anyone can help ?
    > > >
    > > > Thanks in advance
    > > >
    > > > Jeff
    > > >
    > > >
    > >
    > >
    >
    >

    Showjumper Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139