How to fix Microsoft VBscript complication (0x800a0400) expected error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • daniel blaauw

    #1

    How to fix Microsoft VBscript complication (0x800a0400) expected error

    This is the error:
    Error Type: Microsoft VBscript complication (0x800a0400) expected error
    /Header.asp, line 12
    option explicit


    its for an agenda im trying to make.

    Code:
    <%@ LANGUAGE="VBSCRIPT"
       ENABLESESSIONSTATE = False %>
    <%
    '********************************************************************
    ' Name: Header.asp
    '
    ' Purpose: Header include file used to start all pages
    '   also includes global functions
    '
    '********************************************************************
    
    Option Explicit
    Response.Buffer = True
    Response.Expires = 0
    
    sub DoHeader(strTitle)
    %>
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    I don't think I've ever seen this error before, but I don't use "option explicit" very often. It makes me wonder if it isn't allowed in include files. I suggest you remove or comment out that line and see if it works.

    Jared

    Comment

    • daniel blaauw

      #3
      Even when i remove the comment, it stil dont works.

      is should work like this, but no idea why it issent working :S

      Comment

      Working...