Showing posts with label Windows Server 2003. Show all posts
Showing posts with label Windows Server 2003. Show all posts

Tuesday, February 19, 2008

Solving Disallowed Parent Path Error

Today I was installing an ASP 3.0 Web site evaluate an ASP to ASP.net migration... and because that I start to get old kind of problems (nothing like a long time away from ASP 3.0).

I created and Virtual PC with Windows Server 2003, IIS6 and configure my Virtual Directory... and for my surprise I got this error message :

Active Server Pages error ''ASP 0131''

Disallowed Parent Path

/site/index.asp, line 1

The Include file ''../include/conn.asp'' cannot contain ''..'' to indicate the parent directory.



After some Microsoft KB search I found this :

Enable Parent Paths Is Disabled by Default in IIS 6.0 (link)

If you get the same error the workaround is:

1. On IIS, right click on you site/Virtual Directory, Properties

2. Click on Configuration

3. On Options tab

4. Select Enable Parent Paths


See ya!