OverviewUnfortunately there is a server setting on Windows server that creates a bit of an headache for businesses running ASP applications. It’s called “Parent Paths”. In a nutshell, an application like ProductCart uses the dot-dot-slash (”../”) notation (i.e. parent paths) to load “include” files (files that are dynamically included into another file when the latter is parsed by the Web server) from a variety of other files. Sometimes Microsoft's Internet Information Server (IIS) is setup so that parent paths are disallowed, in which case ProductCart would not function properly.
NOTE: In ProductCart v5 and higher, there is no longer a pre-created file set for stores running on servers that have Disabled Parent Paths!
Typical ErrorsIf you activated ProductCart on a server that does not support parent paths, the server would return error messages similar to the following:
Active Server Pages, ASP 0131 (0x80004005) The Include file '../includes/settings.asp' cannot contain '..' to indicate the parent directory. /productcart/pc/home.asp
What To Do
If your server has Parent Paths disabled, you have two options under ProductCart v5:
- You can enable parent paths in IIS. Note however that some Web hosting companies may not be willing to edit this setting for you. If you have access to the Web server (e.g. you have a dedicated server), follow these steps to allow parent paths on a Windows 2003 server: :
- Open the IIS Console
- Right click on the web site you are using and choose “Properties”
- Select “Home Directory” and click the “Configuration” button
- Select “Options”
- Check the box that says “Enable Parent Paths”
- You can do the global Find & Replaces listed below (i.e. "recursive" - through all ProductCart Folders and Files)
You will also need to change the variable in the following files to a "1"