1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Cannot locate files in web directory

Discussion in 'C#' started by likki_hari, May 13, 2008.

  1. #1
    Hi all,

    I have been given a asp legacy application, on each code file they have included some files which are located in the web directory they are,
    <!-- #include virtual="/dss/includes/header.inc"-->
    <!-- #include virtual="/dss/includes/classes/user.inc"-->
    <!-- #include virtual="/dss/includes/classes/menulist.inc"-->


    But i tried to find these files in the directory and couldn't locate them (tried searching them too, no result). My application runs perfectly fine,

    Any idea how this thing works and where the files actually located.

    Thanks
     
    likki_hari, May 13, 2008 IP
  2. Trusted Writer

    Trusted Writer Banned

    Messages:
    1,370
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Maybe you need to modify some instances of server.mappath, with your directory or a physical path, otherwise, have you checked those includes are not within ASP <% %> delimeters?
     
    Trusted Writer, May 13, 2008 IP
  3. likki_hari

    likki_hari Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I have just found the files are outside my project folder..(since its a virtual keyword)

    thanks for a reply
     
    likki_hari, May 13, 2008 IP