Active Server Pages 오류 'ASP 0131' 허용되지 않는 부모 경로

MS에서 권장하는 가장 좋은 해결 방법은 virtual 경로를 사용하는 것.

그러나 일일이 수정작업을 하기가 곤란한 경우 IIS의 설정을 통해서 처리가 가능하다.

아래 IIS7과 IIS6에서 처리하는 방법이 나와있다. (출처:


The best solution to the problem is to use absolute virtual paths from the root of the Web site instead of relative paths.
For example, if you use an include file named "" at the root of your server, the virtual path would be "/" If you use the same include file in a virtual directory named "/includes" on your server, the virtual path would be "/includes/"
The syntax example below illustrates how to implement virtual paths:

<!--#include virtual="/<virtual path>/<filename.ext>"-->

An alternative to using absolute virtual paths is to enable parent paths; however, this is not the preferred method. (See the notes in the More Information section for details.) This is accomplished for your default Web site by using the following steps:

Internet Information Services 7.0

  1. Start Internet Services Manager.
  2. Click Default Web Site, and then click Properties.
  3. Double-click ASP in the Features pane.
  4. Expand Behavior.
  5. Click Enable Parent Paths.
  6. Click True for Enable Parent Paths.
  7. Click Apply.

Internet Information Services 6.0

  1. Open the Internet Services Manager in the Microsoft Management Console (MMC).
  2. Right-click on your Default Web Site and select Properties.
  3. Click the Home Directory tab.
  4. Click the Configuration button.
  5. Click the App Options tab.
  6. Click to select the Enable Parent Paths checkbox.
  7. Click the OK button until you return to the MMC.


가장 많이 본 글