Error : Microsoft VBScript runtime (0x800A000D)

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

  1. #1

    Default 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 for this error on macromedia site. Can someone
    please help me?


    virweb 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. 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,...
    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 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 for this error on macromedia site. Can someone
    please help me?


    <!--#include file="Connections/Project_Progress.asp" -->
    <%
    ' *** Edit Operations: declare variables

    Dim MM_editAction
    Dim MM_abortEdit
    Dim MM_editQuery
    Dim MM_editCmd

    Dim MM_editConnection
    Dim MM_editTable
    Dim MM_editRedirectUrl
    Dim MM_editColumn
    Dim MM_recordId

    Dim MM_fieldsStr
    Dim MM_columnsStr
    Dim MM_fields
    Dim MM_columns
    Dim MM_typeArray
    Dim MM_formVal
    Dim MM_delim
    Dim MM_altVal
    Dim MM_emptyVal
    Dim MM_i

    MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME"))
    If (Request.QueryString <> "") Then
    MM_editAction = MM_editAction & "?" & Server.HTMLEncode(Request.QueryString)
    End If

    ' boolean to abort record edit
    MM_abortEdit = false

    ' query string to execute
    MM_editQuery = ""
    %>
    <%
    ' *** Insert Record: set variables

    If (CStr(Request("MM_insert")) = "progress") Then

    MM_editConnection = MM_Project_Progress_STRING
    MM_editTable = "Progress"
    MM_editRedirectUrl = ""
    MM_fieldsStr =
    "name|value|prj_description|value|prj_status|value |prj_system|value|s_date|value
    |d_date|value|c_date|value|hours_update|value|hour s_prj|value|estimate|value|txt
    _problem|value|txt_achieve|value|txt_goal|value"
    MM_columnsStr = "Name|',none,''|[Project_
    Description]|',none,''|Project_Status|',none,''|Project_System |',none,''|Start_D
    ate|#,none,NULL|Project_Due_Date|#,none,NULL|Proje ct_Completion_Date|#,none,NULL
    |Days_Hours_LU|',none,''|Days_Hours_PRD|',none,''| Estimated_Time|',none,''|Probl
    ems|',none,''|Achivements|',none,''|Goals|',none,' '"

    ' create the MM_fields and MM_columns arrays
    MM_fields = Split(MM_fieldsStr, "|")
    MM_columns = Split(MM_columnsStr, "|")

    ' set the form values
    For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2
    MM_fields(MM_i+1) = CStr(Request.Form(MM_fields(MM_i)))
    Next

    ' append the query string to the redirect URL
    If (MM_editRedirectUrl <> "" And Request.QueryString <> "") Then
    If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0 And
    Request.QueryString <> "") Then
    MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
    Else
    MM_editRedirectUrl = MM_editRedirectUrl & "&" & Request.QueryString
    End If
    End If

    End If
    %>
    <%
    ' *** Insert Record: construct a sql insert statement and execute it

    Dim MM_tableValues
    Dim MM_dbValues

    If (CStr(Request("MM_insert")) <> "") Then

    ' create the sql insert statement
    MM_tableValues = ""
    MM_dbValues = ""
    For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2
    MM_formVal = MM_fields(MM_i+1)
    MM_typeArray = Split(MM_columns(MM_i+1),",")
    MM_delim = MM_typeArray(0)
    If (MM_delim = "none") Then MM_delim = ""
    MM_altVal = MM_typeArray(1)
    If (MM_altVal = "none") Then MM_altVal = ""
    MM_emptyVal = MM_typeArray(2)
    If (MM_emptyVal = "none") Then MM_emptyVal = ""
    If (MM_formVal = "") Then
    MM_formVal = MM_emptyVal
    Else
    If (MM_altVal <> "") Then
    MM_formVal = MM_altVal
    ElseIf (MM_delim = "'") Then ' escape quotes
    MM_formVal = "'" & Replace(MM_formVal,"'","''") & "'"
    Else
    MM_formVal = MM_delim + MM_formVal + MM_delim
    End If
    End If
    If (MM_i <> LBound(MM_fields)) Then
    MM_tableValues = MM_tableValues & ","
    MM_dbValues = MM_dbValues & ","
    End If
    MM_tableValues = MM_tableValues & MM_columns(MM_i)
    MM_dbValues = MM_dbValues & MM_formVal
    Next
    MM_editQuery = "insert into " & MM_editTable & " (" & MM_tableValues & ")
    values (" & MM_dbValues & ")"

    If (Not MM_abortEdit) Then
    ' execute the insert
    Set MM_editCmd = Server.CreateObject("ADODB.Command")
    MM_editCmd.ActiveConnection = MM_editConnection
    MM_editCmd.CommandText = MM_editQuery
    MM_editCmd.Execute
    MM_editCmd.ActiveConnection.Close

    If (MM_editRedirectUrl <> "") Then
    Response.Redirect(MM_editRedirectUrl)
    End If
    End If

    End If
    %>

    virweb Guest

  4. #3

    Default Re: Error : Microsoft VBScript runtime (0x800A000D)

    Is the site on a Windows server?

    --
    Jules
    [url]http://www.charon.co.uk/charoncart[/url]
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004


    Julian Roberts 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