CFF KB - Carrz-Fox-Fire Promotions Knowledge Base

CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.
  • Breadrumbs:
  • Enable Parent Paths is disabled by default in IIS6 (ASP 0131)

  • CFF Knowledge Base - Share With Facebook CFF Knowledge Base - Share on Twitter CFF Knowledge Base - Share on Reddit CFF Knowledge Base - Share on Digg It CFF Knowledge Base - Share on Stumble Upon It CFF Knowledge Base - Share on Delicious
    Share With Friends (Updated 6-8-2010)
  • Article ID:
    95
  • Date Created
    Friday, January 21, 2011
  • Last Updated
    Friday, January 21, 2011
  • This Article Has been Viewed
    1799 times
  • Short Desc
    When you first install IIS6 under Windows 2003 Server and you try to load your page with INCLUDE FILES you may get the error Disallowed Parent Path.
  • Details
    IIS6 under Windows 2003 Server comes default with Parent Paths Disabled, in order for you to be able to server up your sites with INCLUDE FILES you will need to enable this feature. The following error will accure.

     
    Active Server Pages error 'ASP 0131'
    Disallowed Parent Path
    /Page.asp, line 7
    The Include file "../something.asp' cannot contain ".." to indicate the parent directory.
  • Recreate Issue
    By default wihin IIS6 under Windows 2003 Server, Parent Paths are disabled.
  • Resolve Issue
    To resolve this issue:

    In IIS (Internet Information Services)
    From the [Web Site] Folder (Not the Default Web Site)
    Right click and choose [Properties]
    Click on the [Home Directory] tab
    Click on the [Configuration...] button
    Click the [Options] tab
    Put a check beside [Enable Parent Paths]

    A dialog will appear letting you know that the changes that you have made will effect all sites within IIS that you have created.
    Click [OK]
    Then [OK] to the child Nodes
    Then [OK] to close out of the Properties of the [Web Site]
    Now, refresh your page and it should not display properly.

    If you choose to perform this action for the [Default Web Site] then it will only effect that one site, But choosing to do the [Web Site] folder, will make the rule so for all sites and for all future sites as well.