Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 20th, 2005, 04:54 PM
Authorized User
 
Join Date: Mar 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dynamic Table

Hi Imar,

On chapter 13, I've used dynamic table to display available records in a recordset. I hit the below error message when I try to have the page run, could you please advise?

Active Server Pages error 'ASP 0131 : 80004005'

Disallowed Parent Path

/soccer/Admin/showEvents.asp, line 2

The Include file '../Connections/connTheSoccerSite.asp' cannot contain '..' to indicate the parent directory.
 
Old April 21st, 2005, 12:55 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I think this error is caused by a security setting in IIS.

In earlier IIS versions Parent Paths were allowed by default, but in Server 2003 and later, they are off by default.

To fix it, open the IIS Manager, locate your website, right-click it and choose Properties.
Switch to the Home Directory tab and click the Configuration button.
On the Options tab, check the option for Enable parent paths.

Make sure you read a bit about the security risks this may bring. http://www.google.com/search?hl=en&q...ty+risk%22+iis is a nice start.

Alternatively, change your include statement to something like

include virtual="/SomeFolder/SomeFile.asp"

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Table Selection djobes31770 VB Databases Basics 7 November 19th, 2007 12:41 PM
help writing dynamic form data to dynamic table ublend SQL Server ASP 1 June 1st, 2007 08:09 AM
help writing dynamic form data to dynamic table ublend Classic ASP Professional 1 June 1st, 2007 08:08 AM
Fields in a dynamic table? Roshu Javascript How-To 12 January 10th, 2005 09:04 AM
Dynamic Table(s) fs22 Javascript How-To 7 June 15th, 2004 11:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.