By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,162 Members | 1,066 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,162 IT Pros & Developers. It's quick & easy.

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

P: n/a
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.

Expand|Select|Wrap|Line Numbers
  1. <%@ LANGUAGE="VBSCRIPT"
  2.    ENABLESESSIONSTATE = False %>
  3. <%
  4. '********************************************************************
  5. ' Name: Header.asp
  6. '
  7. ' Purpose: Header include file used to start all pages
  8. '   also includes global functions
  9. '
  10. '********************************************************************
  11.  
  12. Option Explicit
  13. Response.Buffer = True
  14. Response.Expires = 0
  15.  
  16. sub DoHeader(strTitle)
  17. %>
  18.  
Oct 27 '10 #1
Share this Question
Share on Google+
2 Replies


jhardman
Expert 2.5K+
P: 3,405
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
Oct 27 '10 #2

P: n/a
Even when i remove the comment, it stil dont works.

is should work like this, but no idea why it issent working :S
Oct 28 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.