Could not access CDO.Message object in IIS6.0

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

  1. #1

    Default Could Not Access CDO.Message object in IIS6.0

    Hi,
    I would really appreciate if somebody could give some
    advise on this.
    I've a ASP.NET application that is supposed to send
    emails and it is tested to be working well on IIS 5.0 and
    tested working in .NET Framework 1.0/1.1.
    Recently this is ported over to IIS 6.0 using .NET
    Framework 1.1 and the error "Could Not Access CDO.Message
    object" is encountered.
    I suspect it could be due to the low privilege asp.net
    worker process account which does not have the access
    rights to the CDO.Message object.
    Wonder if anyone could kindly advise on how to set the
    privilege in the asp.net account to be able to access
    this CDO.Message object?

    Thanks.

    regards,
    Desmond
    Desmond Guest

  2. Similar Questions and Discussions

    1. "Could not access 'CDO.Message' object." How to resolve in IIS server
      I am trying to send mail through smtp. smtp service is running on my machine. But every time during the smtpmail.send(msg) call gives "Could not...
    2. IIS6 - Access bug
      http://support.microsoft.com/default.aspx?scid=kb;en-us;838306 -- Microsoft MVP - ASP/ASP.NET Please reply to the newsgroup. This email account...
    3. ASP, Access db on IIS6
      I recently installed Windows 2003 Server Web Edition/IIS6. I put an ASP site that uses Access 2000. I have ASP extensions enabled in IIS. When I go...
    4. Access is Denied when I try sending email at ASP.net on IIS6
      Hi all, I just migrated my website to the IIS 6.0. Everything is the same and everything is running perfect except I got this error message...
    5. Could not access 'CDO.Message' object
      I've already searched Google. I've already asked people in IRC. I have still not found a solution that works for me for this extremely discouraging...
  3. #2

    Default Re: Could Not Access CDO.Message object in IIS6.0

    If this is in ASP.NET, why not use the core clr objects SmtpMessage and
    SmtpMail to send your emails?

    Or are you using them and it's freaking out at a lower level than you
    control?

    "Desmond" <tanyh@ncs.com.sg> wrote in message
    news:006f01c347cb$6b8d9580$a401280a@phx.gbl...
    > Hi,
    > I would really appreciate if somebody could give some
    > advise on this.
    > I've a ASP.NET application that is supposed to send
    > emails and it is tested to be working well on IIS 5.0 and
    > tested working in .NET Framework 1.0/1.1.
    > Recently this is ported over to IIS 6.0 using .NET
    > Framework 1.1 and the error "Could Not Access CDO.Message
    > object" is encountered.
    > I suspect it could be due to the low privilege asp.net
    > worker process account which does not have the access
    > rights to the CDO.Message object.
    > Wonder if anyone could kindly advise on how to set the
    > privilege in the asp.net account to be able to access
    > this CDO.Message object?
    >
    > Thanks.
    >
    > regards,
    > Desmond

    Chuck Haeberle Guest

  4. #3

    Default Could not access CDO.Message object in IIS6.0

    Hi,
    I would really appreciate if somebody could give some
    advise on this.
    I've a ASP.NET application that is supposed to send
    emails and it is tested to be working well on IIS 5.0 and
    tested working in .NET Framework 1.0/1.1.
    Recently this is ported over to IIS 6.0 using .NET
    Framework 1.1 and the error "Could Not Access CDO.Message
    object" is encountered.
    I suspect it could be due to the low privilege asp.net
    worker process account which does not have the access
    rights to the CDO.Message object.
    Wonder if anyone could kindly advise on how to set the
    privilege in the asp.net account to be able to access
    this CDO.Message object?

    Thanks.

    regards,
    Desmond
    Desmond Guest

  5. #4

    Default Re: Could Not Access CDO.Message object in IIS6.0

    I've had the same error.
    Fought it for a day or two, and then it just started working...

    Yesterday, created a new web service for email in the same application- same error...
    .... and the previously working program started to produce the same error...

    fought it for 4 or 5 hours - rebooted - nothing -
    just before giving up - it started to work...

    I'm using the System.Web.Mail objects here. I've seen many posts about CDO - wish M.S. would address the issue.

    The last error I received was different, but indicates CDO again...


    {System.NullReferenceException}
    [System.NullReferenceException]: {System.NullReferenceException}
    HelpLink: Nothing
    InnerException: Nothing
    Message: "Object reference not set to an instance of an object."
    Source: "mscorlib"
    StackTrace: " at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
    at System.Activator.CreateInstance(Type type, Boolean nonPublic)
    at System.Web.Mail.CdoSysHelper.Send(MailMessage message)
    at System.Web.Mail.SmtpMail.Send(MailMessage message)
    at InBound.Support.baseEmail.SendEmail(Boolean ExceptionOnFail) in C:\...\InBound\Support\BusinessObjects\baseEmail.v b:line 419"
    TargetSite: {System.Reflection.RuntimeMethodInfo}



    "Desmond" <tanyh@ncs.com.sg> wrote in message news:006f01c347cb$6b8d9580$a401280a@phx.gbl...
    > Hi,
    > I would really appreciate if somebody could give some
    > advise on this.
    > I've a ASP.NET application that is supposed to send
    > emails and it is tested to be working well on IIS 5.0 and
    > tested working in .NET Framework 1.0/1.1.
    > Recently this is ported over to IIS 6.0 using .NET
    > Framework 1.1 and the error "Could Not Access CDO.Message
    > object" is encountered.
    > I suspect it could be due to the low privilege asp.net
    > worker process account which does not have the access
    > rights to the CDO.Message object.
    > Wonder if anyone could kindly advise on how to set the
    > privilege in the asp.net account to be able to access
    > this CDO.Message object?
    >
    > Thanks.
    >
    > regards,
    > Desmond
    David Waz... 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