Home > IIS > Enable Parent Paths Is Disabled by Default in IIS 6.0

Enable Parent Paths Is Disabled by Default in IIS 6.0

Error

ASP error 0131 The include file <%filename.ext%> cannot contain ‘..’ to indicate the parent directory. /<%path%>/<%filename.ext%>, line <%number%>

Solution:

To resolve this problem without changing the application:

  1. Click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager.
  2. Double-click your computer name in the left pane, and then double-click Web Sites.
  3. Locate the Web site and directory that houses the ASP application.
  4. Right-click the application site or directory, and then click Properties.
  5. Select Home Directory, and then click Configuration.
  6. Click Options, and then click to select the Enable Parent Paths check box.
  7. Click OK two times.

Reference from:

http://support.microsoft.com/default.aspx?scid=kb;en-us;332117

http://www.bellaonline.com/articles/art42211.asp

Categories: IIS
  1. September 18, 2009 at 11:54 pm

    I’m so glad I found this site…Keep up the good work I read a lot of blogs on a daily basis and for the most part, people lack substance but, I just wanted to make a quick comment to say GREAT blog. Thanks,

    A definite great read.. 🙂

    -Bill-Bartmann

  1. No trackbacks yet.

Leave a comment