954,198 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Error including Parent directory files

Hi Friends,

I installed IIS6.0 in my system. I can't include my parent directory files. It displays Error msg

Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/working/login_main.asp, line 9

The Include file '../_ScriptLibrary/pm.asp' cannot contain '..' to indicate the parent directory.

Please any one can help me.

Thanks & Regards,
R.Chandrasekaran.

rchandrasekaran
Newbie Poster
1 post since Jun 2004
Reputation Points: 10
Solved Threads: 0
 

You can't use relative file paths due to default security settings. Easiest way around this is to not use "../" - you have to either use absolute file paths or use #include virtual.

samaru
a.k.a inscissor
Team Colleague
1,256 posts since Feb 2002
Reputation Points: 262
Solved Threads: 18
 

if you need it to work the way you describe, you can enable parent paths in IIS admin console.

RobUK
Light Poster
32 posts since Jul 2004
Reputation Points: 10
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You