943,891 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 9225
  • ASP RSS
Jun 16th, 2004
0

Error including Parent directory files

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rchandrasekaran is offline Offline
1 posts
since Jun 2004
Jun 16th, 2004
0

Re: Error including Parent directory files

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.
Team Colleague
Reputation Points: 262
Solved Threads: 18
a.k.a inscissor
samaru is offline Offline
1,227 posts
since Feb 2002
Jul 13th, 2004
0

Re: Error including Parent directory files

if you need it to work the way you describe, you can enable parent paths in IIS admin console.
Reputation Points: 10
Solved Threads: 1
Light Poster
RobUK is offline Offline
32 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: force Search Page to return no records on open
Next Thread in ASP Forum Timeline: loading and external asp link in frames





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC