CDO.SYS-Error after Windows Update RRS feed

  • Question

  • User-1908007637 posted

    Hi, we send mails via cdo.sys. Last night the new windows-updates were installed. And now the cdo-script shows this: 

    "An error occurred on the server when processing the URL. Please contact the system administrator.

    If you are the system administrator please click here to find out more about this error."

    This is my testscript:


    NAME="CDO for Windows 2000 Library"
    Set cdoConfig = CreateObject("CDO.Configuration")

    With cdoConfig.Fields
    .Item(cdoSendUsingMethod) = cdoSendUsingPort
    .Item(cdoSMTPServer) = "my ip"
    End With

    Set cdoMessage = CreateObject("CDO.Message")

    With cdoMessage
    Set .Configuration = cdoConfig
    .From = "my address"
    .To = "my second address"
    .Subject = "Samplemail"
    .TextBody = "a little bit content"
    End With

    Set cdoMessage = Nothing
    Set cdoConfig = Nothing

    Response.write "<HTML><head><title>A message has been sent.</title></head><body>A message has been sent.</body></HTML>"



    Has anyone an idea?

    Best regards


    Friday, June 16, 2017 4:14 PM

All replies

  • User-460007017 posted

    Hi hochhardt,

    The error message "An error occurred on the server when processing the URL." means that an code error occur when you was trying to run the classic ASP web application. So if you need to fix this issue, you have to get the accurate error message first. Open IIS manager->site level->ASP->debugging properties->send error to browser->true.

    Best Regards,

    Yuk Ding

    Monday, June 19, 2017 2:31 AM
  • User-1908007637 posted

    error ist fixed: after windows-update the cdosys.dll was broken. we have copied it from another server - now it's ok.

    Monday, June 19, 2017 1:27 PM
  • User-460007017 posted

    Hi hochhardt,

    I'm glad your issue has been fixed. It will be appreciate if you could mark yourself as answer.

    Best Regards,

    Yuk Ding

    Thursday, June 22, 2017 6:31 AM
  • User852303560 posted

    Hi We have the same issue, our code is 


    sub sendemail(subject, content, receiver mail)

    Set objMessage = CreateObject("CDO.Message")

    objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing")=2

    objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver")="smtp.gmail.com"

    objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1

    objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusername") = "sender mail"

    objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password"

    objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465

    objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = 1


    objMessage.Subject = subject

    objMessage.Sender = "sender mail"

    objMessage.HtmlBody = "content"

    objMessage.To = "receiver mail"


    Set objMessage = nothing

    end sub


    the error report is

    error code CDO.Message.1 '80040213'

    Wednesday, December 6, 2017 4:11 PM