Home Ask Login Register

Developers Planet

Your answer is one click away!

Richard77 February 2016

ASP Error 0131: Parent Path is not allowed

I'm trying to run an ASP Classic application on Visual Studio 2013 and IIS Express. I'm getting the following error when running one the page:

Active Server Pages error 'ASP 0131'
Disallowed Parent Path
The Include file '../file.inc' cannot contain '..' to indicate the parent directory.

I've researched the issue online and found out that the problem is related to the ../ that is disabled by default. The solution proposed is to allow the Parent Path. While this solution is discouraged for security reasons, moreover, I don't have administrative privileges to make such changes.

Is there another way to solve this problem that doesn't involve allowing Parent Path?


Dijkgraaf February 2016

Yes, the alternative is to use the include virtual directive, you would have to update all paths to be from the root of the virtual directory

Include Virtual '/file.inc'


Include Virtual '/Folder/file.inc'

Post Status

Asked in February 2016
Viewed 3,535 times
Voted 8
Answered 1 times


Leave an answer

Quote of the day: live life