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?
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'
or
Include Virtual '/Folder/file.inc'