Error including Parent directory files

Reply

Join Date: Jun 2004
Posts: 1
Reputation: rchandrasekaran is an unknown quantity at this point 
Solved Threads: 0
rchandrasekaran rchandrasekaran is offline Offline
Newbie Poster

Error including Parent directory files

 
0
  #1
Jun 16th, 2004
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 1,135
Reputation: samaru is just really nice samaru is just really nice samaru is just really nice samaru is just really nice 
Solved Threads: 6
Team Colleague
samaru's Avatar
samaru samaru is offline Offline
a.k.a inscissor

Re: Error including Parent directory files

 
0
  #2
Jun 16th, 2004
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.
Check out my blog at http://www.shinylight.com for more stuff about web dev.
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 32
Reputation: RobUK is an unknown quantity at this point 
Solved Threads: 1
RobUK RobUK is offline Offline
Light Poster

Re: Error including Parent directory files

 
0
  #3
Jul 13th, 2004
if you need it to work the way you describe, you can enable parent paths in IIS admin console.
Rob - DMOZ Editor
Web Design Forums - Free website critiques. Web design + SEO Advice
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 8288 | Replies: 2
Thread Tools Search this Thread



Tag cloud for ASP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC