1. Home
  2. Support
  3. Legacy
  4. Scripting
  5. Classic ASP – Parent Paths
Click here for full details

Classic ASP – Parent Paths

What are they?

Parent paths allow the use of dot syntax in file paths. For example, if your username was “testusername” and your website is called “mydomain.tld” and you wanted to load a script. Instead of using the following:


You can use this instead:


Why aren’t they working already?

By default, this is disabled and you may be presented with an error message which looks like the below:

An error occurred on the server when processing the URL. Please contact the system administrator.
If you are the system administrator, please click here to find out more about this error.

Please note, that this is a generic ASP error message, and doesn’t have to be related to Parent Path problems. It is best to request that detailed errors be enabled/sent to the browser. This can be done via support ticket. You will need to advise which domain it is for.

What do I do now?

Now that detailed errors are turned on, you can reload the page and find a more detailed error message. It should look like the following:

Active Server Pages error 'ASP 0131'
Disallowed Parent Path
/differentfolder/example.asp, line 100
The Include file '../folder/scripts/examplescript.asp' cannot contain '..' to indicate the parent directory.

The key to look out for is the “Disallowed Parent Path” line.

In order to enable Parent Paths, like you did for detailed errors, you’ll need to raise a support ticket requesting that they’re enabled and which domain it is for.

Click here for full details

Classification: Public
Last saved: 2021/11/11 at 14:23 by Jamie