Knowledgebase

Home / Help Central / Knowledgebase

Error: Active Server Pages error 'ASP 0131' Disallowed Parent Path

Error:
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
The Include file '../../Connections/xxxxxxxxx.asp' cannot contain '..' to indicate the parent directory.

 
Background:

Some hosting companies configure their servers to disable relative path. While DMXReady v2 Applications were design to use relative path to achieve greater flexibility, you may encounter this issue if your hosting provider does not allow relative path in their server. Please read on for solution to this issue.


Solution A:
You will need to edit the existing include statements that use "file" and convert them to "virtual". (Use Find and Replace inside Dreamweaver). This is a server issue with IIS & Dreamweaver.
 
Example for v1 apps:
 
Change from:
 
Change to:
Visit this link for more information: http://www.macromedia.com/support/dreamweaver/ts/documents/parentpaths.htm


Example for v2 apps:

The above examples work for DMXReady v1 applications. The concept of changing the path in DMXReady v2 applications to use a fixed path is the same, the only difference is the fact that DMXReady v2 applications use different structure.
So for example, it should use something like:



If you are not comfortable doing this yourself, feel free to let us know as we offer professional service that can help you with this.
Solution B:
Enable parent paths on your server as described here: