A
Alex
Hi,
I have noticed that in an aspx page
<!--#include virtual="Home.htm"--> acts the same as <!--#include
File="Home.htm"-->
when I am NOT in the root diectory of the site (I am aware that they will
reference the same file if in the root dir)
for example I have a directory on my site called "Admin" immediatly
subordinate to the root.
using inside default.aspx in "Admin" have the line
<!--#include virtual="Admin/AdminHome.htm"-->
This gives me the error
Could not find a part of the path
"c:\inetpub\wwwroot\Emailer1\Admin\Admin\AdminHome.htm". (notice the
duplicate "Admin" dir )
However the following works
<!--#include virtual="AdminHome.htm"--> and feel it should not becaues in
classic asp virtual references the root of the website.
cheers
Alex.
I have noticed that in an aspx page
<!--#include virtual="Home.htm"--> acts the same as <!--#include
File="Home.htm"-->
when I am NOT in the root diectory of the site (I am aware that they will
reference the same file if in the root dir)
for example I have a directory on my site called "Admin" immediatly
subordinate to the root.
using inside default.aspx in "Admin" have the line
<!--#include virtual="Admin/AdminHome.htm"-->
This gives me the error
Could not find a part of the path
"c:\inetpub\wwwroot\Emailer1\Admin\Admin\AdminHome.htm". (notice the
duplicate "Admin" dir )
However the following works
<!--#include virtual="AdminHome.htm"--> and feel it should not becaues in
classic asp virtual references the root of the website.
cheers
Alex.