Disallowed Parent Path
The Include file '../<filename.ext>' cannot contain '..' to indicate the parent directory.
/<path>/<filename.ext>, line <number>
Relative parent paths in include statements use the following form:
For example, if you use an include file named "mycode.inc" at the root of your server, the virtual path would be "/mycode.inc." If you use the same include file in a virtual directory named "/includes" on your server, the virtual path would be "/includes/mycode.inc."
The syntax example below illustrates how to implement virtual paths:
<!--#include virtual="/<virtual path>/<filename.ext>"-->
Internet Information Services 7.0
- Start Internet Services Manager.
- Click Default Web Site, and then click Properties.
- Double-click ASP in the Features pane.
- Expand Behavior.
- Click Enable Parent Paths.
- Click True for Enable Parent Paths.
- Click Apply.
Internet Information Services 6.0
- Open the Internet Services Manager in the Microsoft Management Console (MMC).
- Right-click on your Default Web Site and select Properties.
- Click the Home Directory tab.
- Click the Configuration button.
- Click the App Options tab.
- Click to select the Enable Parent Paths checkbox.
- Click the OK button until you return to the MMC.
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
For more information about troubleshooting this and other ASP errors that may occur with IIS 6.0, visit the following Microsoft Web sites:
ID do Artigo: 226474 - Última Revisão: 30/07/2008 - Revisão: 1