从父路径将文件包含在Asp Classic中

问题描述:

我正在使用Asp经典页面.

我通常包括本地目录中的文件,到目前为止,该目录中没有问题.

就像我使用这种语法在我的ASP经典页面中包含一个文件

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"-->



我正在使用Windows XP机器.

所以请帮帮我.
如果通过小例子进行说明,将会更有帮助.

在此先感谢

关于问候
R.K.PRABAKAR



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

最后,我配置并成功克服了错误.
http://learn.iis.net/page .aspx/566/classic-asp-parent-paths-are-disabled-by-default/ [右键单击并选择属性"

3)选择主目录"选项卡,然后按配置"按钮

4)然后选择选项"选项卡

5)选中启用父目录"选项(如果未选中)

这为我解决了问题.
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.