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.

Recommended Answers

All 2 Replies

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.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.