About Us | Products | Services | Downloads | Support | Contact Us | My Account
Parent Path / Include File problem with Virtual Hosting
PDshop TM

About PDshop:
- Overview
- Storefront
- Shopping Cart
- Administrator

Feature Comparison:
- Features (Chart)

Order:
- Purchase + Download

Demos:
- Try it Now
 
Editions:
- ASP.NET (.NET)
- Classic ASP
- Version 8

PDshop Version 8 meets or exceeds requirements for PCI compliance
PCI Compliance

How it Works:
- F A Q ( Q & A)
- Demos (Try it Now)
- See Examples
- Payment Processing
- Shipping Features
- Requirements
- PCI Compliance

IT Professional?
- Web Designer
- Web Master

Still have Questions:
- Contact Us

Frequently Asked Questions about our ASP Online Store Software
News

Version 8 of PDshop is now available. 

This new edition is our latest solution built on Microsoft's ASP.NET platform.
 

Downloads

A Free Download is now available to eligible users! 

If you already use PDshop, you should login and check for free updates and review our "Top Security Tips".

To check for updates and read other notices, click on
 My Account.
 

User and Installation Guides for ASP error message troubleshooting
Reviewed as the "best ASP shopping cart software on the market"
Home > Browse Articles > Support Related > Error Messages
Parent Path / Include File problem with Virtual Hosting
Award winning ASP shopping cart software & online store solution!
Sample PDshop 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/Workaround:
Sample ASP 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.
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.
 
Also See:
 
Related Categories:
 
Article Applies to:
ASP (classic Active Server Pages)
PDshopPro / Standard
PDshop Plus
PDshop Advanced

This article may only apply to the technology or edition(s) listed above.
 
Additional Help:
Try searching, or try our User Manuals:
 

Home Policies Terms & Conditions   © PageDown Technology, 2010. All rights reserved  
   
About Us | Programming | Services | ASP Code | Support
PayPal Shopping Cart | Technical |  ASP Help