dba123
asked on
Include file path problem
for some reason, previous coders of this application used ...
myasppage.asp has the following code:
<!--#include file="../assistants/main.a sp" -->
so now when myasppage.asp page is referenced, I get the error:
The Include file '../assistants/main.asp' cannot contain '..' to indicate the parent directory.
I had to change it to include virtual instead of include file ...what's the diff?
to
<!--#include virtual="/directoryname/as sistants/m ain.asp" -->
myasppage.asp has the following code:
<!--#include file="../assistants/main.a
so now when myasppage.asp page is referenced, I get the error:
The Include file '../assistants/main.asp' cannot contain '..' to indicate the parent directory.
I had to change it to include virtual instead of include file ...what's the diff?
to
<!--#include virtual="/directoryname/as
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.