include virtual problem

Discussion in 'ASP General' started by andy, Jul 1, 2003.

  1. andy

    andy Guest

    i am using dreamweaver to create an asp page. I have the following code
    incorporated on the page. :-

    <!--#include virtual="/includes/meta.asp" -->

    But when i preview it asp produces the following error.

    Error Type:
    Active Server Pages, ASP 0126 (0x80004005)
    The include file '/includes/meta.asp' was not found.
    /poll/TMP8pp69hcijs.asp, line 5

    If i change it to 'include fle' it seems to work but then i have to change
    the entire site. Any ideas? Thanks

    andy, Jul 1, 2003
    1. Advertisements

  2. andy

    Ray at Guest

    When you do a file include, you can't start with the /. That indicuates
    virtuality from the root of the site.

    Ray at work
    Ray at, Jul 1, 2003
    1. Advertisements

  3. For some reason dreamweaver is trying to create a Temp file for you.
    Are you publishing the contents of your site to a location other then
    your local site?

    Also, don't use the dreamweaver view thingy. When you want to view work
    you have done actually goto the place where you published it using IIS.
    For example...



    * * * Sent via DevBuilder * * *
    Developer Resources for High End Developers.
    Andrew Durstewitz, Jul 1, 2003
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.