Active Server Pages error ASP 0140

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chriswh86
    Member
    • Nov 2012
    • 43

    Active Server Pages error ASP 0140

    I am having issues with my main page of my website. For some reason, I cannot get to my index page.



    I get this error:
    Active Server Pages error 'ASP 0140'
    Page Command Out Of Order
    /index.asp, line 1
    The @ command must be the first command within the Active Server Page.

    I have changed nothing before this error came up, I have since patched to 4.2.2 PL1 just a short while ago. No change to the main page. If I link to a different website page in the URL bar, my site will show and function properly.

    I am wondering if some ASP stuff has changed and I need to make an adjustment to my index page?

    Hope for some help. Thanks everyone!
    Last edited by chriswh86; Sun 8 Jun '14, 12:03pm.
  • donald1234
    Senior Member
    • Oct 2011
    • 1953
    • 4.1.x

    #2
    Is your writing small or do I need to go to specsavers? Don't know if this is any help?

    Comment

    • chriswh86
      Member
      • Nov 2012
      • 43

      #3
      This is my index.asp page

      <%@Language=VBScript%>
      <%
      SiteNameURL = Request.ServerVariables("SERVER_NAME")

      Select Case SiteNameURL
      Case "www.islanddwarfcarclub.com"
      Response.Redirect "idcc/index.html"

      Case "islanddwarfcarclub.com"
      Response.Redirect "idcc/index.html"

      Case "www.250explorer.com"
      Response.Redirect "forum.php"

      Case "250explorer.com"
      Response.Redirect "forum.php"

      End Select
      %>

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        vBulletin isn't in vBScript and has no index.asp page. I have no idea what your error is from, but that isn't a vbulletin page and so we can't help you.

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools &lt;- awesome site for html/css help

        Comment

        Related Topics

        Collapse

        Working...