My ASP page is displaying “Disallowed Parent Path” error, how do I fix?

We disallow parent paths for security reasons. When the page is called from a web browser, the following is displayed:

Active Server Pages error 'ASP 0131'

Disallowed Parent Path

Resolution:  The best solution is to change all <!--#include file statements in your ASP page to <!--#include virtual, statements. The example below illustrates how to implement virtual path statements. This assumes the includes directory is at the webroot:

Original include statement:

<!--#include file="../incudes/file.inc"-->

Changed to:

<!--#include virtual="/includes/file.inc"-->

If you cannot make this change, then you will have to contact our Technical support department and have them enable parent paths for your web site.

See Also