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:
  • Missing File or Virtual attribute

  • 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:
    7285
  • Date Created
    Monday, February 24, 2025
  • Last Updated
    Monday, February 24, 2025
  • This Article Has been Viewed
    8 times
  • Short Desc
    Include file gives the error Missing File or Virtual attribute when running the page.
  • Details
    You may receive the following error if the wrong character is used in your INCLUDE FILE.

     

    Active Server Pages error 'ASP 0128'
    Missing File or Virtual attribute
    /Check.asp, line 1
    The Include file name must be specified using either the File or Virtual attribute.
  • Recreate Issue
     
    <!--#include file-"../MyFile.asp"-->

    In this example, we use a DASH -, which is the wrong character to use in the INCLUDE FILE.
  • Resolve Issue
     
    <!--#include file="../MyFile.asp"-->

    As you can see, we have replaced the DASH with an EQUAL sign, which is what is called for.