CDONTS problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gonzosez

    CDONTS problem

    I have been using CDONTS for a while.
    Now I get the message

    Microsoft VBScript runtime error '800a0046'

    Permission denied

    anyideas?


  • Richard K Bethell

    #2
    Re: CDONTS problem

    "Gonzosez" <tbyam@hinklemf gNS.com> wrote in message
    news:u0FlNQfqDH A.2820@TK2MSFTN GP10.phx.gbl...[color=blue]
    > I have been using CDONTS for a while.
    > Now I get the message
    >
    > Microsoft VBScript runtime error '800a0046'
    >
    > Permission denied
    >
    > anyideas?[/color]

    Do you have any code to show for the area around where this happens? Could
    be a number of things, depending on how you are accessing the SMTP service.

    R.


    Comment

    • Ray at

      #3
      Re: CDONTS problem

      Make sure that your IUSR account has permissions to write to the
      \inetpub\mailro ot\pickup directory.

      Ray at work

      "Gonzosez" <tbyam@hinklemf gNS.com> wrote in message
      news:u0FlNQfqDH A.2820@TK2MSFTN GP10.phx.gbl...[color=blue]
      > I have been using CDONTS for a while.
      > Now I get the message
      >
      > Microsoft VBScript runtime error '800a0046'
      >
      > Permission denied
      >
      > anyideas?
      >
      >[/color]


      Comment

      • Guest's Avatar

        #4
        CDONTS problem

        hi

        I had the same problem but i spent several weeks trying
        different methods to get the issue resolved..

        If you can try doing a search in google for CDOSYS. It's
        another mail component similar to CDONTS but with better
        functionality. I believe support for CDONTS is slowly
        dying out

        Hope this helps some!
        [color=blue]
        >-----Original Message-----
        >I have been using CDONTS for a while.
        >Now I get the message
        >
        > Microsoft VBScript runtime error '800a0046'
        >
        >Permission denied
        >
        >anyideas?
        >
        >
        >.
        >[/color]

        Comment

        • Gonzosez

          #5
          Re: CDONTS problem

          sample of code

          msgto="to@home. com"
          msgfrom="me@hom e.com
          msgsubject="thi s is the subject"

          msgbody="<html> <body>"
          msgbody= msgbody & "<br>This is the message<br>"
          msgbody=msgbody & "</body></html>"


          Set objCDO = Server.CreateOb ject("CDONTS.Ne wMail")
          objCDO.To = msgTo
          objCDO.From = msgfrom
          objCDO.Subject = msgsubject
          objCDO.BodyForm at = 0
          objCDO.MailForm at = 0


          objCDO.Body = msgBody

          objCDO.Send >>>>>error occurs here

          Set objCDO = Nothing


          "Richard K Bethell" <softdev@spammi ngisevil.bad> wrote in message
          news:OkU6NYfqDH A.2064@TK2MSFTN GP11.phx.gbl...[color=blue]
          > "Gonzosez" <tbyam@hinklemf gNS.com> wrote in message
          > news:u0FlNQfqDH A.2820@TK2MSFTN GP10.phx.gbl...[color=green]
          > > I have been using CDONTS for a while.
          > > Now I get the message
          > >
          > > Microsoft VBScript runtime error '800a0046'
          > >
          > > Permission denied
          > >
          > > anyideas?[/color]
          >
          > Do you have any code to show for the area around where this happens? Could
          > be a number of things, depending on how you are accessing the SMTP[/color]
          service.[color=blue]
          >
          > R.
          >
          >[/color]


          Comment

          • Ray at

            #6
            Re: CDONTS problem


            <anonymous@disc ussions.microso ft.com> wrote in message
            news:0d9001c3a9 f6$d507c110$a40 1280a@phx.gbl.. .[color=blue]
            > hi
            >
            > I had the same problem but i spent several weeks trying
            > different methods to get the issue resolved..[/color]

            Several weeks, eh? If you use a tool such as Google and search
            http://www.google.com/search?q=800a0046+cdonts, you'll see the second result
            is KB article with the solution. Use Google and other such things to change
            the "several weeks" to "several seconds."
            [color=blue]
            >
            > If you can try doing a search in google for CDOSYS. It's
            > another mail component similar to CDONTS but with better
            > functionality. I believe support for CDONTS is slowly
            > dying out[/color]

            True. CDONTS is in W2K for legacy support purposes, but it is gone as of XP
            and 2003. OP should use CDO unless he's on an NT server. Search
            www.aspfaq.com for CDO.

            Ray at work


            Comment

            • Aaron Bertrand - MVP

              #7
              Re: CDONTS problem

              Use CDO.Message.




              "Gonzosez" <tbyam@hinklemf gNS.com> wrote in message
              news:u0FlNQfqDH A.2820@TK2MSFTN GP10.phx.gbl...[color=blue]
              > I have been using CDONTS for a while.
              > Now I get the message
              >
              > Microsoft VBScript runtime error '800a0046'
              >
              > Permission denied
              >
              > anyideas?
              >
              >[/color]


              Comment

              • Gonzosez

                #8
                Re: CDONTS problem

                Once again, it pays to ask the experts.
                Thanks
                "Aaron Bertrand - MVP" <aaron@TRASHasp faq.com> wrote in message
                news:efX6EAgqDH A.2488@TK2MSFTN GP09.phx.gbl...[color=blue]
                > Use CDO.Message.
                > http://www.aspfaq.com/2026
                >
                >
                >
                > "Gonzosez" <tbyam@hinklemf gNS.com> wrote in message
                > news:u0FlNQfqDH A.2820@TK2MSFTN GP10.phx.gbl...[color=green]
                > > I have been using CDONTS for a while.
                > > Now I get the message
                > >
                > > Microsoft VBScript runtime error '800a0046'
                > >
                > > Permission denied
                > >
                > > anyideas?
                > >
                > >[/color]
                >
                >[/color]


                Comment

                Working...