Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parent directory..? 1

Status
Not open for further replies.

kenjoswe

Technical User
Sep 19, 2000
327
SE
Hi all,

I have a include file that I've used for years.
But now I'm shifting to a new server and it doesn't work.
The include file:
<!--#INCLUDE FILE="../System/ConnKundData.asp"-->
=================
Browser error:
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
/SokGen/Kundstatistik/WebStat11.asp, line 1
The Include file '../System/ConnKundData.asp' cannot contain '..' to indicate the parent directory.
==================

What is wrong?

/Kent J.
 
try this:

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.

-DNG
 
DotNetGnat,

Great! Thanks!
I would never have thought of that!

/Kent J.


 
Think carefully about the security consequences - then consider guitardave78's solution as an alternative

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top