Click to See Complete Forum and Search --> : Why can't I use .. to refer to upper directory in an include file ?


Robert Chu
01-01-2006, 10:26 PM
I use <!-- #include file="../DB/DBSt03.inc"--> to include upper directory. But there is an error message like following. How can I fix it ?


Active Server Pages error 'ASP 0131'

upper directory not allowed.

/ST03/ADM/QuerySaleScore.ASP, row1

inc file '../DB/DBSt03.inc' can't use '..' to refer to upper directory.

Cstick
01-01-2006, 11:24 PM
Try this instead, <!-- #include virtual="../DB/DBSt03.inc"-->