CFF KB - Carrz-Fox-Fire Promotions Knowledge Base

CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.
  • Breadrumbs:
  • Active Server Pages error 'ASP 0127'

  • CFF Knowledge Base - Share With Facebook CFF Knowledge Base - Share on Twitter CFF Knowledge Base - Share on Reddit CFF Knowledge Base - Share on Digg It CFF Knowledge Base - Share on Stumble Upon It CFF Knowledge Base - Share on Delicious
    Share With Friends (Updated 6-8-2010)
  • Article ID:
    149
  • Date Created
    Wednesday, December 14, 2011
  • Last Updated
    Wednesday, December 14, 2011
  • This Article Has been Viewed
    2772 times
  • Short Desc
    When you start off your server-side tag (HTML Comment), you must close the tag as well.
  • Details
    When you create server-side tags, they have to be closed.
    This happens a lot when you are in a hurry, and is simple to resolve.

     

    Active Server Pages error 'ASP 0127'
    Missing close of HTML comment
    /Banner.asp, line 9
    The HTML comment or server-side include lacks the close tag (-->).
  • Recreate Issue
    To recreate this issue.

    <style type="text/css">
    <!--
    @import url("css/main.css");

    </style>


    As you can see in the above code, we are missing closing server-side element -->
    Which belongs above the closing style tag </style>
  • Resolve Issue
    To resolve this problem


    <style type="text/css">
    <!--
    @import url("css/main.css");
    -->
    </style>


    We have added in the server-side tag --> above the closing style </style> tag.
    Which resolves the issue, and the site will now run properly.