Disallowed Parent Path Fix

If you ever get this error:

Active Server Pages error ‘ASP 0131′

Disallowed Parent Path

The Include file ‘../myFile.asp’ cannot contain ‘..’ to indicate the parent directory.

or something similar, then below is a quick fix for those of you running IIS6, and want to allow parent paths.

Right click on the web application that’s throwing the error. in my case, its called ‘MySite’

Select Properties.

 screenshot1

Select the Home Directory tab, as shown above.
Click Configuration

screenshot2 

Select the Options tab, and you will see a check box for Enable Parent Paths.
Click that, and you’re good to go.

Leave a Reply