473,625 Members | 3,306 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS 5.1 (windows xp) <--> IIS SBS

Hello,
We upgraded to Windows Small Business Server 2003
It seems that there is something changed with the asp INCLUDE statement.

here is my code:
<!--#include file="../_includes/common.asp" -->

and the error:
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
/artabel/info/default.asp, line 2
The Include file '../_includes/common.asp' cannot contain '..' to indicate
the parent directory.
It appears that the INCLUDE statement should point to absolute paths, not to
relative paths.

How can I use my website without changing every page?
Can I allow IIS of SBS2003 to use "../_includes/common.asp" ? How to
configure it?
The website still runs on IIS 5.1, delivered with Windows XP Prof
any help is appreciated,
regards,
bart


--

=============== =============== =========
ARTABEL
Bart Plessers
Schreursvest 67
3001 Leuven
BELGIUM
tel +32 (16) 23.40.85
tel +32 (16) 28.40.03 (rechtstreeks)
fax +32 (16) 23.41.06
email: ba***********@a rtabel.com
web: http://www.artabel.com
=============== =============== =========
Aug 10 '05 #1
4 3794
<ba***********@ artabel.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Hello,
We upgraded to Windows Small Business Server 2003
It seems that there is something changed with the asp INCLUDE statement.

here is my code:
<!--#include file="../_includes/common.asp" -->

and the error:
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
/artabel/info/default.asp, line 2
The Include file '../_includes/common.asp' cannot contain '..' to indicate
the parent directory.
It appears that the INCLUDE statement should point to absolute paths, not
to relative paths.

How can I use my website without changing every page?
Can I allow IIS of SBS2003 to use "../_includes/common.asp" ? How to
configure it?


Yes, Parent Paths are disabled by default in IIS 6.
http://support.microsoft.com/default...b;en-us;332117

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
Aug 10 '05 #2
Hi Bart,

Parent Paths is a feature (related to ASP) that allows you to use "..\" to
move upwards and access files in a parent folder. Parent Paths is
considered to be dangerous because it may be used by an intruder to access
critical or confidential files outside the root of the application. Since
IIS 6.0 is locked down by default, Parent Paths is disabled on a default
installation of IIS 6.0.

To enable Parent Paths:
Click Start->Programs->Administrati ve Tools->Internet Information Services
Expand Web Sites and right click the web site you want to enable this for
(i.e Default Web Site), click Properties
Click the Home directory tab and click the Configuration button
Click on the Options tab
Check the box Enable Parent Paths

Also see:

http://www.gafvert.info/notes/DisallowedParentPath.htm
--
Regards,
Kristofer Gafvert (IIS MVP)
http://www.gafvert.info/iis/ - IIS Related Info
<ba***********@ artabel.com> wrote:
Hello,
We upgraded to Windows Small Business Server 2003
It seems that there is something changed with the asp INCLUDE statement.

here is my code:
<!--#include file="../_includes/common.asp" -->

and the error:
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
/artabel/info/default.asp, line 2
The Include file '../_includes/common.asp' cannot contain '..' to indicate
the parent directory.
It appears that the INCLUDE statement should point to absolute paths, not
to relative paths.

How can I use my website without changing every page?
Can I allow IIS of SBS2003 to use "../_includes/common.asp" ? How to
configure it?
The website still runs on IIS 5.1, delivered with Windows XP Prof
any help is appreciated,
regards,
bart

Aug 10 '05 #3
thanx!

--

=============== =============== =========
ARTABEL
Bart Plessers
Schreursvest 67
3001 Leuven
BELGIUM
tel +32 (16) 23.40.85
tel +32 (16) 28.40.03 (rechtstreeks)
fax +32 (16) 23.41.06
email: ba***********@a rtabel.com
web: http://www.artabel.com
=============== =============== =========
"Kristofer Gafvert [MVP]" <kg******@NEWSi lopia.com> wrote in message
news:xn******** *******@news.mi crosoft.com...
Hi Bart,

Parent Paths is a feature (related to ASP) that allows you to use "..\" to
move upwards and access files in a parent folder. Parent Paths is
considered to be dangerous because it may be used by an intruder to access
critical or confidential files outside the root of the application. Since
IIS 6.0 is locked down by default, Parent Paths is disabled on a default
installation of IIS 6.0.

To enable Parent Paths:
Click Start->Programs->Administrati ve Tools->Internet Information Services
Expand Web Sites and right click the web site you want to enable this for
(i.e Default Web Site), click Properties
Click the Home directory tab and click the Configuration button
Click on the Options tab
Check the box Enable Parent Paths

Also see:

http://www.gafvert.info/notes/DisallowedParentPath.htm
--
Regards,
Kristofer Gafvert (IIS MVP)
http://www.gafvert.info/iis/ - IIS Related Info
<ba***********@ artabel.com> wrote:
Hello,
We upgraded to Windows Small Business Server 2003
It seems that there is something changed with the asp INCLUDE statement.

here is my code:
<!--#include file="../_includes/common.asp" -->

and the error:
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
/artabel/info/default.asp, line 2
The Include file '../_includes/common.asp' cannot contain '..' to indicate
the parent directory.
It appears that the INCLUDE statement should point to absolute paths, not
to relative paths.

How can I use my website without changing every page?
Can I allow IIS of SBS2003 to use "../_includes/common.asp" ? How to
configure it?
The website still runs on IIS 5.1, delivered with Windows XP Prof
any help is appreciated,
regards,
bart

Aug 11 '05 #4
thanx!

--

=============== =============== =========
ARTABEL
Bart Plessers
Schreursvest 67
3001 Leuven
BELGIUM
tel +32 (16) 23.40.85
tel +32 (16) 28.40.03 (rechtstreeks)
fax +32 (16) 23.41.06
email: ba***********@a rtabel.com
web: http://www.artabel.com
=============== =============== =========
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:uc******** ******@tk2msftn gp13.phx.gbl...
<ba***********@ artabel.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Hello,
We upgraded to Windows Small Business Server 2003
It seems that there is something changed with the asp INCLUDE statement.

here is my code:
<!--#include file="../_includes/common.asp" -->

and the error:
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
/artabel/info/default.asp, line 2
The Include file '../_includes/common.asp' cannot contain '..' to
indicate the parent directory.
It appears that the INCLUDE statement should point to absolute paths, not
to relative paths.

How can I use my website without changing every page?
Can I allow IIS of SBS2003 to use "../_includes/common.asp" ? How to
configure it?


Yes, Parent Paths are disabled by default in IIS 6.
http://support.microsoft.com/default...b;en-us;332117

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running
IIS

Aug 11 '05 #5

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

Similar topics

2
15216
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000 Personal disk from the SQL Server 2000 Enterprise kit as this is reported here on the MSDN web site to be the version that is supported on Windows XP. In fact so many of you kind people confess to having succeeded in doing it. I have tried...
1
3446
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. I'm having trouble getting the code that I've written to work, can anyone shed some light as to where I'm going wrong. The program has been written to do the following tasks: - Select remote server - Select from two specific services
0
3930
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. The program I'm trying to develop needs to be able to do the following: - Select remote server - Select from two specific services - Check the status of the server
4
3143
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps further away, completely leaving the selector box area. Any ideas? VS 2003 and VB.Net This is a simple application at the moment but the form is inherited from a
1
3077
by: freesteel | last post by:
I have posted about this problem before. SInce then I found a much better article to help with embedding python in a multithreaded application: http://www.linuxjournal.com/article/3641 I found this article very good and it clarified for me what needs doing. Now I have an example application that almost works, but it is far from reliable. If I run this several times I get crashes telling me that the heap is modified after deallocation....
4
4174
by: tshad | last post by:
What would be a good way to check programmatically whether a service was running? We have a service that dies periodically and I need to check to see if this service is running. I know how to check to see if the status is in stopped or running mode. But that doesn't tell me if it is actually running. I need to know this so that if it happens I can programmatically start the same service on another machine.
2
11712
by: sambo251 | last post by:
After running a few updates I get this very annoying "Windows Installer" error #1706 that will ne go away! It keeps saying that it cannot find the file "instantsharedevices.msi", that it is on another CD, and gets caught in a loop when I try to delete it! It mentions MS.net frame error # 1706. The "details" code follows...hope someone can help me to either fix it or get out of the loop! I tried running "Windows Registry Repair Pro"...but no help...
1
7831
by: mfunkmann | last post by:
Hi, I recently got an error and I don't know how to fix it: Error 1 'System.Data.DataColumn' does not contain a definition for 'Windows' C:\c#\CsharpPRO\Form1.Designer.cs 304 77 CsharpPRO I am note sure what to do because all propertiers work, except the System.Data.DataColumn.. I didn't write any code by hand and used the visual studio to set the properties..
2
4174
by: =?Utf-8?B?SnJ4dHVzZXIx?= | last post by:
I just started using Windows Live OneCare, I had been using Norton, but was unable to fix the problems I was having. I have yet been unsuccessful with OneCare as well. I keep getting the same warning from OneCare, one is for Adware, the other is for a trojan, I clean both, but almost immediatly, I get the same warning? My Windows Defender is also shut down, not by me as I have no idea how to do this(or to turn it back on), but am still...
0
8189
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
8694
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
8497
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7184
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
5570
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();...
0
4089
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4193
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1500
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.