Microsoft VBScript runtime error '800a000d' ??

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Microsoft VBScript runtime error '800a000d' ??


    can someone help me out i keep getting this error ?

    Microsoft VBScript runtime error '800a000d'

    Type mismatch: 'IsBlank'

    /dating/admin.asp, line 329



    heres whats at line 329 If Not IsBlank(BCCEmail) Then .Bcc = BCCEmail


    Set objCDOSYSMail = Server.CreateObject("CDO.Message")
    Set objCDOSYSCon = Server.CreateObject ("CDO.Configuration")
    strSmtpServer = "127.0.0.1" ' email server
    SMTPUsername = "mail.server.com" 'account with permission to
    send mail
    SMTPPassword = "1111111" 'password for your email
    With objCDOSYSCon
    .Fields("http://schemas.microsoft.com/cdo/configuration/sendusing")
    = 2
    .Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver")
    = strSmtpServer
    If SMTPUsername <> "" And SMTPPassword <> "" Then
    .Fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate")
    = 1 ' cdoBasic ; cdoNTLM = 2 (NTLM)
    .Fields("http://schemas.microsoft.com/cdo/configuration/sendusername")
    = SMTPUsername
    .Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword")
    = SMTPPassword
    End If
    .Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport")
    = 25
    .Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout")
    = 60
    .Fields.Update
    End With

    Set objCDOSYSMail.Configuration = objCDOSYSCon

    With objCDOSYSMail
    .From = SMTPUsername
    .To = objRS("p_email")
    .Bcc = ("mail@server.com")
    line 329 If Not IsBlank(BCCEmail) Then .Bcc = BCCEmail

    .Subject = strSubject
    .TextBody = strBody
    .Send
    End With

    Set objCDOSYSMail = Nothing
    Set objCDOSYSCon = Nothing


    James Guest

  2. Similar Questions and Discussions

    1. Microsoft VBScript runtime error '800a01ad'
      I get the following error message when trying to create an instance of a DLL on a Windows 2003 Server machine from an ASP page: Microsoft VBScript...
    2. Error : Microsoft VBScript runtime (0x800A000D)
      Hi, I get an error Type mismatch: 'LBound' when I try to submit my form, which saves the form data to database. There is not much of a help...
    3. Microsoft VBScript runtime error '800a01fb'
      Hello All, I started getting the following error for some unknow reason and can not figure out why. Here are the errors I am getting: An...
    4. Microsoft VBScript runtime error '800a0046'
      hello all, i have a permission issue. my script works fine on my windows2000 server development box, however when i move it to my windows2003...
    5. Microsoft VBScript runtime error '800a01c9'
      Hi I am getting this error which is frustrating me a lot Microsoft VBScript runtime error '800a01c9' This key is already associated with an...
  3. #2

    Default Re: Microsoft VBScript runtime error '800a000d' ??

    IsBlank() is not a native VBscript function, so it should be defined as a custom function somewhere in your own code.
    Apparently it is not.

    --
    Marja Ribbers-de Vroed

    Internet:
    - [url]www.webwaresystems.nl[/url]
    - [url]www.clubwebware.nl[/url]
    - [url]www.flevooware.nl/dreamweaver[/url]


    "James" <jamesbond@hotmail.com> wrote in message news:d60061$8ut$1@forums.macromedia.com...
    >
    > can someone help me out i keep getting this error ?
    >
    > Microsoft VBScript runtime error '800a000d'
    >
    > Type mismatch: 'IsBlank'
    >
    > /dating/admin.asp, line 329
    >
    >
    >
    > heres whats at line 329 If Not IsBlank(BCCEmail) Then .Bcc = BCCEmail
    >
    >
    > Set objCDOSYSMail = Server.CreateObject("CDO.Message")
    > Set objCDOSYSCon = Server.CreateObject ("CDO.Configuration")
    > strSmtpServer = "127.0.0.1" ' email server
    > SMTPUsername = "mail.server.com" 'account with permission to
    > send mail
    > SMTPPassword = "1111111" 'password for your email
    > With objCDOSYSCon
    > ..Fields("http://schemas.microsoft.com/cdo/configuration/sendusing")
    > = 2
    > ..Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver")
    > = strSmtpServer
    > If SMTPUsername <> "" And SMTPPassword <> "" Then
    > ..Fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate")
    > = 1 ' cdoBasic ; cdoNTLM = 2 (NTLM)
    > ..Fields("http://schemas.microsoft.com/cdo/configuration/sendusername")
    > = SMTPUsername
    > ..Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword")
    > = SMTPPassword
    > End If
    > ..Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport")
    > = 25
    > ..Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout")
    > = 60
    > .Fields.Update
    > End With
    >
    > Set objCDOSYSMail.Configuration = objCDOSYSCon
    >
    > With objCDOSYSMail
    > .From = SMTPUsername
    > .To = objRS("p_email")
    > .Bcc = ("mail@server.com")
    > line 329 If Not IsBlank(BCCEmail) Then .Bcc = BCCEmail
    >
    > .Subject = strSubject
    > .TextBody = strBody
    > .Send
    > End With
    >
    > Set objCDOSYSMail = Nothing
    > Set objCDOSYSCon = Nothing
    >
    >
    Marja Ribbers Guest

  4. #3

    Default Re: Microsoft VBScript runtime error '800a000d' ??

    line 329 If Not IsBlank(BCCEmail) Then .Bcc = BCCEmail

    --------------------------------------------------------------------------------
    ---------------------------------------------------------------
    Obviously, IsBlank is true, so my question is how do you handle it when it is
    blank? It can be blank, correct?

    If Not IsBlank(BCCEmail) Then
    .Bcc = BCCEmail
    Else
    .Bcc = "Something"
    End If

    brownd1 Guest

  5. #4

    Default Re: Microsoft VBScript runtime error '800a000d' ??

    i aint got a clue mate i dont no a lot of asp

    "brownd1" <webforumsuser@macromedia.com> wrote in message
    news:d602mi$cu0$1@forums.macromedia.com...
    > line 329 If Not IsBlank(BCCEmail) Then .Bcc = BCCEmail
    >
    > --------------------------------------------------------------------------------
    > ---------------------------------------------------------------
    > Obviously, IsBlank is true, so my question is how do you handle it when it
    > is
    > blank? It can be blank, correct?
    >
    > If Not IsBlank(BCCEmail) Then
    > .Bcc = BCCEmail
    > Else
    > .Bcc = "Something"
    > End If
    >

    James Guest

  6. #5

    Default Re: Microsoft VBScript runtime error '800a000d' ??

    No, the BCC property is optional and can be left off completely, so there's
    no need for an else.

    "brownd1" <webforumsuser@macromedia.com> wrote in message
    news:d602mi$cu0$1@forums.macromedia.com...
    > line 329 If Not IsBlank(BCCEmail) Then .Bcc = BCCEmail
    >
    > --------------------------------------------------------------------------------
    > ---------------------------------------------------------------
    > Obviously, IsBlank is true, so my question is how do you handle it when it
    > is
    > blank? It can be blank, correct?
    >
    > If Not IsBlank(BCCEmail) Then
    > .Bcc = BCCEmail
    > Else
    > .Bcc = "Something"
    > End If
    >

    Lionstone Guest

  7. #6

    Default Re: Microsoft VBScript runtime error '800a000d' ??

    dont it with this code

    'Create the e-mail server object
    Set objCDOSYSMail = Server.CreateObject("CDO.Message")
    Set objCDOSYSCon = Server.CreateObject ("CDO.Configuration")
    'Outgoing SMTP server
    objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver")
    = "localhost"
    objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport")
    = 25
    objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing")
    = 2
    objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout")
    = 60
    objCDOSYSCon.Fields.Update

    'Update the CDOSYS Configuration
    Set objCDOSYSMail.Configuration = objCDOSYSCon
    objCDOSYSMail.From = "mail@server.com"
    objCDOSYSMail.To = objRS("p_email")
    objCDOSYSMail.Subject = strSubject
    objCDOSYSMail.HTMLBody = strBody
    objCDOSYSMail.Send
    'Close the server mail object
    Set objCDOSYSMail = Nothing
    Set objCDOSYSCon = Nothing

    thanks anyway ;-)


    "Lionstone" <HIDElionstoneHIDE@HIDEhush.com> wrote in message
    news:d603mv$ec9$1@forums.macromedia.com...
    > No, the BCC property is optional and can be left off completely, so
    > there's no need for an else.
    >
    > "brownd1" <webforumsuser@macromedia.com> wrote in message
    > news:d602mi$cu0$1@forums.macromedia.com...
    >> line 329 If Not IsBlank(BCCEmail) Then .Bcc = BCCEmail
    >>
    >> --------------------------------------------------------------------------------
    >> ---------------------------------------------------------------
    >> Obviously, IsBlank is true, so my question is how do you handle it when
    >> it is
    >> blank? It can be blank, correct?
    >>
    >> If Not IsBlank(BCCEmail) Then
    >> .Bcc = BCCEmail
    >> Else
    >> .Bcc = "Something"
    >> End If
    >>
    >
    >

    James 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