473,842 Members | 1,587 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP problem with includes

When I use an include file like this
<!--#include file="..\..\cfi g.asp"-->
<!--#include file="..\..\cls OOPModule.asp"-->
my server gives an error of :
Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/test/module/VieBoard/main.asp, line 1

The Include file '..\..\cfig.asp ' cannot contain '..' to
indicate the parent directory.

Jul 19 '05 #1
6 2991
It's a setting of the website to allow / disallow parent paths.

Open the website properties in IIS MMC console and change it (if you need this). It's a security
thing to prevent crafted URLs that try and navigate outside of the website,

Chris.

"ceyhun" <ce****@likya.n et> wrote in message news:1f******** *************** ******@phx.gbl. ..
When I use an include file like this
<!--#include file="..\..\cfi g.asp"-->
<!--#include file="..\..\cls OOPModule.asp"-->
my server gives an error of :
Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/test/module/VieBoard/main.asp, line 1

The Include file '..\..\cfig.asp ' cannot contain '..' to
indicate the parent directory.
Jul 19 '05 #2
http://www.aspfaq.com/2412

--
http://www.aspfaq.com/
(Reverse address to reply.)

"ceyhun" <ce****@likya.n et> wrote in message
news:1f******** *************** ******@phx.gbl. ..
When I use an include file like this
<!--#include file="..\..\cfi g.asp"-->
<!--#include file="..\..\cls OOPModule.asp"-->
my server gives an error of :
Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/test/module/VieBoard/main.asp, line 1

The Include file '..\..\cfig.asp ' cannot contain '..' to
indicate the parent directory.

Jul 19 '05 #3
use relative path instead:

<!--#include virtual=/path/to/files -->
"ceyhun" <ce****@likya.n et> ¦b¶l¥ó
news:1f******** *************** ******@phx.gbl ¤¤¼¶¼g...
When I use an include file like this
<!--#include file="..\..\cfi g.asp"-->
<!--#include file="..\..\cls OOPModule.asp"-->
my server gives an error of :
Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/test/module/VieBoard/main.asp, line 1

The Include file '..\..\cfig.asp ' cannot contain '..' to
indicate the parent directory.

Jul 19 '05 #4
I opened MMC but there's nothing there. I use IIS6.0
-----Original Message-----
It's a setting of the website to allow / disallow parent paths.
Open the website properties in IIS MMC console and change it (if you need this). It's a securitything to prevent crafted URLs that try and navigate outside of the website,
Chris.

"ceyhun" <ce****@likya.n et> wrote in message news:1f******** *************** ******@phx.gbl. ..When I use an include file like this
<!--#include file="..\..\cfi g.asp"-->
<!--#include file="..\..\cls OOPModule.asp"-->
my server gives an error of :
Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/test/module/VieBoard/main.asp, line 1

The Include file '..\..\cfig.asp ' cannot contain '..' to
indicate the parent directory.
.

Jul 19 '05 #5
On Mon, 21 Jun 2004 00:26:13 -0700, "Ceyhun" <ce****@likya.n et> wrote:
I opened MMC but there's nothing there. I use IIS6.0


Nothing? Then you have a bigger problem than parent paths.

If you just don't understand where to look, see:

Enable Parent Paths Is Disabled by Default in IIS 6.0:
http://support.microsoft.com/default...b;EN-US;332117

Jeff
-----Original Message-----
It's a setting of the website to allow / disallow parent

paths.

Open the website properties in IIS MMC console and change

it (if you need this). It's a security
thing to prevent crafted URLs that try and navigate

outside of the website,

Chris.

"ceyhun" <ce****@likya.n et> wrote in message

news:1f******* *************** *******@phx.gbl ...
When I use an include file like this
<!--#include file="..\..\cfi g.asp"-->
<!--#include file="..\..\cls OOPModule.asp"-->
my server gives an error of :
Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/test/module/VieBoard/main.asp, line 1

The Include file '..\..\cfig.asp ' cannot contain '..' to
indicate the parent directory.
.


Jul 19 '05 #6
I mean relative to the root (that is, absolute path :p )
"3legs" <3l***@askme.co m> ¦b¶l¥ó news:u0******** ******@TK2MSFTN GP12.phx.gbl
¤¤¼¶¼g...
use relative path instead:

<!--#include virtual=/path/to/files -->
"ceyhun" <ce****@likya.n et> ¦b¶l¥ó
news:1f******** *************** ******@phx.gbl ¤¤¼¶¼g...
When I use an include file like this
<!--#include file="..\..\cfi g.asp"-->
<!--#include file="..\..\cls OOPModule.asp"-->
my server gives an error of :
Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/test/module/VieBoard/main.asp, line 1

The Include file '..\..\cfig.asp ' cannot contain '..' to
indicate the parent directory.


Jul 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3194
by: Hafeez | last post by:
I am having real trouble compiling this code http://www.cs.wisc.edu/~vganti/birchcode/codeHier/AttrProj.tgz The attachment shows errors when compiled using the current version of g++ in a i386-pc-solaris2.9. Seeing reference to gcc-2.7.2 in the Makefile of the code, I downloaded it and compiled in my home directory. Then changed the referenes of LIBDIR and INCLUDES to this installation .and ran with g++ for 2.7.2 then there are still...
2
7683
by: David Muoio | last post by:
I am trying to validate an XML file against an XSD that is stored in the assembly as an embedded resource. I can get it to work as long as the XSD does not include other XSDs. After a fair amount of searching, I have found 3 possible solutions but none have worked for me. They are: 1. Use the Includes property of XmlSchema to add included XSDs, then call Compile XmlSchema mainSchema = XmlSchema.Read( stream1, null ); XmlSchema ...
6
2793
by: tshad | last post by:
I have an ascx file I am using to include my logos and heading information for all my pages. It was working fine up until now. I decided to set up an admin folder inside of my main folder and move one of my files into it - now my links don't work. I have a setup:
2
3002
by: bobmct | last post by:
I'm attempting to integrate some PayPalPro supplied modules which come with their own directory structure. I've installed this "directory" into my common "working" includes directory. However, because the supplied code uses so many levels of includes PHP is not finding the referenced included functions. Heres an example: my own working includes:
6
1837
by: kwest | last post by:
I just setup a new server with PHP 5 and ran into a problem with includes. Everytime I call something like require_once './includes/test.inc' I get a permissions message like this: Warning: require_once(./includes/test.inc) : failed to open stream: Permission denied in /var/www/html/test2.php on line 3
7
2488
by: Ajinkya | last post by:
I have writen a program for a game called game.exe Now it includes a player part to which has to be a function to be writen by someone else. Now I want to provide this exe to some tester who will be writing his player function. I dont know his file name and his function name....he will have to include it. I am providing him the game.exe and a common file containing all the
10
2366
by: SoulIntruder | last post by:
Hello folks. I have a beginners question. I have such script: <?php $User = $_POST; $Password = $_POST; $Database = $_POST;
1
1684
by: JRough | last post by:
I have includes at the top of the file and I have inline includes also includes in mysql queries. For example: include './includes/config.inc.php'; include $include_path.'dates.inc.php'; include $include_path.'auction_types.inc.php'; include $include_path.'countries.inc.php'; include $include_path.'datacheck.inc.php'; include $include_path.'wordfilter.inc.php'; include $include_path.'converter.inc.php';
8
10390
by: shaielinna | last post by:
<? ob_start(); session_start(); require('../includes/inc.php'); require('../includes/settings.php'); include("../includes/dbconnect.php");?> <?php // requires the class require "../includes/class.datepicker.php";
1
3314
by: Gramma2005 | last post by:
I am trying to connect to an access db through php on Windows Server 2003 running XAMPP. The code I am using has worked before on another access db on this server so I am not sure what is causing the error. Here is my code: # First establish the connection $conn = new COM('ADODB.Connection') or exit('Cannot start ADO'); $result = new COM('ADODB.Recordset') or exit('Coult not make rs'); $db =...
0
9876
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9716
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10946
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10615
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10676
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9455
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7041
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4503
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4091
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.