Powering thousands of Online Stores, Shopping Carts, around the world!

PDshop is built on Asp.Net, works with ALL Windows web hosts and Windows servers!
Powered by Asp.Net Learn More
Parent Path / Include File problem with Virtual Hosting
Sample Error
Active Server Pages error 'ASP 0131'

Disallowed Parent Path

shop/default.asp, line 17

The Include file '../includes/setup.asp' cannot contain '..' to indicate the parent directory.
Solution or Workaround
The above error can occur when PDshop is hosted on a "virtual" server and your web provider has disabled "parent paths".  You should contact your web provider and request that they "enable parent paths".  

If you are the administrator, or have access to the IIS console, modify the Parent Path setting for your virtual web.  This setting is located under the "Home Directory" tab, under "Configuration" on the "App Options" tab.

Another Alternative solution would be to replace all instances of the "include" command with "virtual".  To do this, you need to edit all .asp files (using Notepad) that reference the "include" command.

Example, replace all instances of:
#include file="../includes/

WITH:
#include virtual="/includes/

OR:
#include virtual="/yourdirectory/includes/

ALSO:
It may also be necessary to modify some or all instances of server.mappath, removing the '../' and replacing it with your directory or a physical path.
Related Topics
Article Applies to: ASP (classic Active Server Pages), PDshopPro / Standard, PDshop Plus, PDshop Advanced
Search for help...

Updates

No updates or new downloads are currently available.  Check back later for news and updates on products we may be developing.