Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2002

    Unanswered: Why would OptionExplicit cause an error if my Vars are DIM'd??


    I am getting a "The page cannot be displayed.... HTTP 500 - Internal server error" when I place Option Explicit in the first line of my page. I have checked the page a zillion times now and am certain that there are no un-DIMed variables, and all vars are DIM'd only once. I have two #Includes a few lines below, and one of them has Option Explicit as well, but I've commented it out and the problem still occurs.

    I only get the error when I put Option Explicit in the main page- it runs
    fine without it.

    What else could be causing this?

  2. #2
    Join Date
    Feb 2002
    Have you checked your includes to make sure that no duplicated variable names between the includes and the page ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts