Skip to main content
Inspiring
March 13, 2008
Answered

Newbie Help Please-ASP error 'ASP 0131'

  • March 13, 2008
  • 3 replies
  • 776 views
I am not new to dreamweaver but new to dynamic web application. I am following a dreamweaver database tutorial.
When I try to preview an asp page in a browser after adding a recordset I get this message (firefox) (Before adding the recordset there is no problem)

"Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/nationalEx_root/admin/update_product.asp, line 2

The Include file '../Connections/connNationalEx.asp' cannot contain '..' to indicate the parent directory. "

Heres what I know. Notice the file "update_product.asp" is in a folder called "admin" If I take that file and move it out of the "admin" folder and drop it into the root directory.....the error message goes away. So I am sure its simple but I don't know what to change to make it work within the "data" folder.
Do I need to edit the connection string? The asp file?
Thanks for your help!

Ken
This topic has been closed for replies.
Correct answer Newsgroup_User

"Nevermynd" <webforumsuser@macromedia.com> wrote in message
news:frblev$afa$1@forums.macromedia.com...
>I am not new to dreamweaver but new to dynamic web application. I am
>following
> a dreamweaver database tutorial.
> When I try to preview an asp page in a browser after adding a recordset I
> get
> this message (firefox) (Before adding the recordset there is no problem)
>
> "Active Server Pages error 'ASP 0131'
>
> Disallowed Parent Path

you would need to go into IIS and activate Parent Paths. By default, this is
not active in IIS.


3 replies

New Participant
March 15, 2008
dear friend,
>mY name is jessie fron Philippines i'm poor about DreamweaverCS3...but i really2x want study it...Friend!..
>if you haved a tutorial please i beg you!! throw me little(intelmindko_24@yahoo.com.ph)God bless you brother.(-_-)
Inspiring
March 13, 2008
Hunter Elliott wrote:
> "Nevermynd" <webforumsuser@macromedia.com> wrote in message
> news:frblev$afa$1@forums.macromedia.com...
>> I am not new to dreamweaver but new to dynamic web application. I am
>> following
>> a dreamweaver database tutorial.
>> When I try to preview an asp page in a browser after adding a recordset I
>> get
>> this message (firefox) (Before adding the recordset there is no problem)
>>
>> "Active Server Pages error 'ASP 0131'
>>
>> Disallowed Parent Path
>
> you would need to go into IIS and activate Parent Paths. By default, this is
> not active in IIS.

There is another solution, which technically doesn't weaken the security
on your webserver:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16573

Steve
Newsgroup_UserCorrect answer
Inspiring
March 13, 2008

"Nevermynd" <webforumsuser@macromedia.com> wrote in message
news:frblev$afa$1@forums.macromedia.com...
>I am not new to dreamweaver but new to dynamic web application. I am
>following
> a dreamweaver database tutorial.
> When I try to preview an asp page in a browser after adding a recordset I
> get
> this message (firefox) (Before adding the recordset there is no problem)
>
> "Active Server Pages error 'ASP 0131'
>
> Disallowed Parent Path

you would need to go into IIS and activate Parent Paths. By default, this is
not active in IIS.


NevermyndAuthor
Inspiring
March 13, 2008
Sweet! Thank you!!
Ken