Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I am using Asp classic page.

I usually include files from local directory, so far no problem in that one.

Like i use this syntax to include a file in my asp classic page
<!--#include file="rssmenu.inc"-->  

But when i try to include file from parent directory i can't.

The syntax i used to refer parent directory file is

<!--#include file="../includes/rssmenu.inc"-->


I'm using Windows xp machine.

So please help me.
It will be more helpful if it is explained with small example.

Thanks in advance

With regards
R.K.PRABAKAR
Posted

1 solution

Finally i configured and overcome the error successfully.
http://learn.iis.net/page.aspx/566/classic-asp-parent-paths-are-disabled-by-default/[^]

In windows xp machine

1) Goto IIS Manager(Run--> Type inetmgr)

2) Navigate to "Default Web site"--> Right click and select "Properties"

3) Select "Home Directory" tab and there press "Configuration" button

4) Then select "Option" tab

5) Check "Enable parent directory" option (If it is unchecked)

This clears the issue for me.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900