Keep getting the error below, because am using the ../ notation for an
include file in the root of a website.
Active Server Pages error 'ASP 0131' Disallowed Parent Path The Include
file '../vbutils.asp' cannot contain '..' to indicate the parent directory.
The webhosts will not change their settings on IIS6, because of a potential
security issue.
Can I overcome this problem by coding???

Re: Parent Path with Active Server Pages by Jens

Jens
Thu Oct 07 17:17:45 CDT 2004

This is a multi-part message in MIME format.

------=_NextPart_000_0030_01C4ACCC.3C2F1180
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

You can overcome it by using absolute URLs.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

> -----Original Message-----
> From: Kevin [mailto:kevgrim@tesco.net]
> Posted At: 7. oktober 2004 22:41
> Posted To: microsoft.public.frontpage.programming
> Conversation: Parent Path with Active Server Pages
> Subject: Parent Path with Active Server Pages
>
>
> Keep getting the error below, because am using the ../
> notation for an include file in the root of a website.
> Active Server Pages error 'ASP 0131' Disallowed Parent Path
> The Include file '../vbutils.asp' cannot contain '..' to
> indicate the parent directory.
> The webhosts will not change their settings on IIS6, because
> of a potential security issue.
> Can I overcome this problem by coding???
>
>

------=_NextPart_000_0030_01C4ACCC.3C2F1180
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7036.0">
<TITLE>Re: Parent Path with Active Server Pages</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>You can overcome it by using absolute URLs.</FONT>
</P>

<P><FONT SIZE=3D2>Regards Jens Peter Karlsen. Microsoft MVP - Frontpage. =
</FONT>
</P>

<P><FONT SIZE=3D2>&gt; -----Original Message-----</FONT>

<BR><FONT SIZE=3D2>&gt; From: Kevin [<A =
HREF=3D"mailto:kevgrim@tesco.net">mailto:kevgrim@tesco.net</A>] </FONT>

<BR><FONT SIZE=3D2>&gt; Posted At: 7. oktober 2004 22:41</FONT>

<BR><FONT SIZE=3D2>&gt; Posted To: =
microsoft.public.frontpage.programming</FONT>

<BR><FONT SIZE=3D2>&gt; Conversation: Parent Path with Active Server =
Pages</FONT>

<BR><FONT SIZE=3D2>&gt; Subject: Parent Path with Active Server =
Pages</FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; Keep getting the error below, because am using =
the ../ </FONT>

<BR><FONT SIZE=3D2>&gt; notation for an include file in the root of a =
website.</FONT>

<BR><FONT SIZE=3D2>&gt;&nbsp; Active Server Pages error 'ASP 0131' =
Disallowed Parent Path </FONT>

<BR><FONT SIZE=3D2>&gt; The Include file '../vbutils.asp' cannot contain =
'..' to </FONT>

<BR><FONT SIZE=3D2>&gt; indicate the parent directory.</FONT>

<BR><FONT SIZE=3D2>&gt; The webhosts will not change their settings on =
IIS6, because </FONT>

<BR><FONT SIZE=3D2>&gt; of a potential security issue.</FONT>

<BR><FONT SIZE=3D2>&gt; Can I overcome this problem by coding???</FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>
</P>

</BODY>
</HTML>
------=_NextPart_000_0030_01C4ACCC.3C2F1180--


Re: Parent Path with Active Server Pages by Kevin

Kevin
Thu Oct 07 18:53:51 CDT 2004

This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C4ACD1.47420D70
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Re: Parent Path with Active Server PagesOnly problem with using absolute =
paths is that the development server and the production server must be =
identical - which sadly they are not.
"Jens Peter Karlsen[FP MVP]" <jpkarlsen@mvps.org> wrote in message =
news:%23yo85tLrEHA.1952@TK2MSFTNGP12.phx.gbl...
You can overcome it by using absolute URLs.=20

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.=20

> -----Original Message-----=20
> From: Kevin [mailto:kevgrim@tesco.net]=20
> Posted At: 7. oktober 2004 22:41=20
> Posted To: microsoft.public.frontpage.programming=20
> Conversation: Parent Path with Active Server Pages=20
> Subject: Parent Path with Active Server Pages=20
>=20
>=20
> Keep getting the error below, because am using the ../=20
> notation for an include file in the root of a website.=20
> Active Server Pages error 'ASP 0131' Disallowed Parent Path=20
> The Include file '../vbutils.asp' cannot contain '..' to=20
> indicate the parent directory.=20
> The webhosts will not change their settings on IIS6, because=20
> of a potential security issue.=20
> Can I overcome this problem by coding???=20
>=20
>=20

------=_NextPart_000_000D_01C4ACD1.47420D70
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: Parent Path with Active Server Pages</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1458" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Only problem with using absolute paths =
is that the=20
development server and the production server must be identical - which =
sadly=20
they are not.</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Jens Peter Karlsen[FP MVP]" &lt;<A=20
href=3D"mailto:jpkarlsen@mvps.org">jpkarlsen@mvps.org</A>&gt; wrote in =
message=20
<A=20
=
href=3D"news:%23yo85tLrEHA.1952@TK2MSFTNGP12.phx.gbl">news:%23yo85tLrEHA.=
1952@TK2MSFTNGP12.phx.gbl</A>...</DIV><!-- Converted from text/plain =
format -->
<P><FONT size=3D2>You can overcome it by using absolute URLs.</FONT> =
</P>
<P><FONT size=3D2>Regards Jens Peter Karlsen. Microsoft MVP - =
Frontpage.=20
</FONT></P>
<P><FONT size=3D2>&gt; -----Original Message-----</FONT> <BR><FONT =
size=3D2>&gt;=20
From: Kevin [<A =
href=3D"mailto:kevgrim@tesco.net">mailto:kevgrim@tesco.net</A>]=20
</FONT><BR><FONT size=3D2>&gt; Posted At: 7. oktober 2004 22:41</FONT> =
<BR><FONT=20
size=3D2>&gt; Posted To: microsoft.public.frontpage.programming</FONT> =
<BR><FONT=20
size=3D2>&gt; Conversation: Parent Path with Active Server =
Pages</FONT>=20
<BR><FONT size=3D2>&gt; Subject: Parent Path with Active Server =
Pages</FONT>=20
<BR><FONT size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; =
</FONT><BR><FONT=20
size=3D2>&gt; Keep getting the error below, because am using the ../=20
</FONT><BR><FONT size=3D2>&gt; notation for an include file in the =
root of a=20
website.</FONT> <BR><FONT size=3D2>&gt;&nbsp; Active Server Pages =
error 'ASP=20
0131' Disallowed Parent Path </FONT><BR><FONT size=3D2>&gt; The =
Include file=20
'../vbutils.asp' cannot contain '..' to </FONT><BR><FONT size=3D2>&gt; =
indicate=20
the parent directory.</FONT> <BR><FONT size=3D2>&gt; The webhosts will =
not=20
change their settings on IIS6, because </FONT><BR><FONT size=3D2>&gt; =
of a=20
potential security issue.</FONT> <BR><FONT size=3D2>&gt; Can I =
overcome this=20
problem by coding???</FONT> <BR><FONT size=3D2>&gt; </FONT><BR><FONT =
size=3D2>&gt;=20
</FONT></P></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_000D_01C4ACD1.47420D70--


Re: Parent Path with Active Server Pages by Chris

Chris
Thu Oct 07 19:08:31 CDT 2004

This is a multi-part message in MIME format.

------=_NextPart_000_00A8_01C4ACA9.6B0310B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Re: Parent Path with Active Server Pageswhy not just have the production =
server allow parent pathing? it would make your life easier.

--=20
Chris Leeds,
Microsoft MVP-FrontPage

Make More Money with Less Work
Let Your Clients Control Their Content With Just A Browser!
http://contentseed.com/
--
"Kevin" <kevgrim@tesco.net> wrote in message =
news:#fSEmjMrEHA.3416@TK2MSFTNGP15.phx.gbl...
Only problem with using absolute paths is that the development server =
and the production server must be identical - which sadly they are not.
"Jens Peter Karlsen[FP MVP]" <jpkarlsen@mvps.org> wrote in message =
news:%23yo85tLrEHA.1952@TK2MSFTNGP12.phx.gbl...
You can overcome it by using absolute URLs.=20

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.=20

> -----Original Message-----=20
> From: Kevin [mailto:kevgrim@tesco.net]=20
> Posted At: 7. oktober 2004 22:41=20
> Posted To: microsoft.public.frontpage.programming=20
> Conversation: Parent Path with Active Server Pages=20
> Subject: Parent Path with Active Server Pages=20
>=20
>=20
> Keep getting the error below, because am using the ../=20
> notation for an include file in the root of a website.=20
> Active Server Pages error 'ASP 0131' Disallowed Parent Path=20
> The Include file '../vbutils.asp' cannot contain '..' to=20
> indicate the parent directory.=20
> The webhosts will not change their settings on IIS6, because=20
> of a potential security issue.=20
> Can I overcome this problem by coding???=20
>=20
>=20


------=_NextPart_000_00A8_01C4ACA9.6B0310B0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: Parent Path with Active Server Pages</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2743.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>why not just have the production server =
allow=20
parent pathing?&nbsp; it would make your life easier.</FONT></DIV>
<DIV><BR>-- <BR>Chris Leeds,<BR>Microsoft MVP-FrontPage</DIV>
<DIV>&nbsp;</DIV>
<DIV>Make More Money with Less Work<BR>Let Your Clients Control Their =
Content=20
With Just A Browser!<BR><A=20
href=3D"http://contentseed.com/">http://contentseed.com/</A><BR>--</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Kevin" &lt;<A =
href=3D"mailto:kevgrim@tesco.net">kevgrim@tesco.net</A>&gt;=20
wrote in message <A=20
=
href=3D"news:#fSEmjMrEHA.3416@TK2MSFTNGP15.phx.gbl">news:#fSEmjMrEHA.3416=
@TK2MSFTNGP15.phx.gbl</A>...</DIV>
<DIV><FONT face=3DArial size=3D2>Only problem with using absolute =
paths is that=20
the development server and the production server must be identical - =
which=20
sadly they are not.</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Jens Peter Karlsen[FP MVP]" &lt;<A=20
href=3D"mailto:jpkarlsen@mvps.org">jpkarlsen@mvps.org</A>&gt; wrote =
in message=20
<A=20
=
href=3D"news:%23yo85tLrEHA.1952@TK2MSFTNGP12.phx.gbl">news:%23yo85tLrEHA.=
1952@TK2MSFTNGP12.phx.gbl</A>...</DIV><!-- Converted from text/plain =
format -->
<P><FONT size=3D2>You can overcome it by using absolute URLs.</FONT> =
</P>
<P><FONT size=3D2>Regards Jens Peter Karlsen. Microsoft MVP - =
Frontpage.=20
</FONT></P>
<P><FONT size=3D2>&gt; -----Original Message-----</FONT> <BR><FONT =
size=3D2>&gt;=20
From: Kevin [<A=20
href=3D"mailto:kevgrim@tesco.net">mailto:kevgrim@tesco.net</A>]=20
</FONT><BR><FONT size=3D2>&gt; Posted At: 7. oktober 2004 =
22:41</FONT>=20
<BR><FONT size=3D2>&gt; Posted To:=20
microsoft.public.frontpage.programming</FONT> <BR><FONT =
size=3D2>&gt;=20
Conversation: Parent Path with Active Server Pages</FONT> <BR><FONT=20
size=3D2>&gt; Subject: Parent Path with Active Server Pages</FONT> =
<BR><FONT=20
size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; </FONT><BR><FONT =
size=3D2>&gt; Keep=20
getting the error below, because am using the ../ </FONT><BR><FONT=20
size=3D2>&gt; notation for an include file in the root of a =
website.</FONT>=20
<BR><FONT size=3D2>&gt;&nbsp; Active Server Pages error 'ASP 0131' =
Disallowed=20
Parent Path </FONT><BR><FONT size=3D2>&gt; The Include file =
'../vbutils.asp'=20
cannot contain '..' to </FONT><BR><FONT size=3D2>&gt; indicate the =
parent=20
directory.</FONT> <BR><FONT size=3D2>&gt; The webhosts will not =
change their=20
settings on IIS6, because </FONT><BR><FONT size=3D2>&gt; of a =
potential=20
security issue.</FONT> <BR><FONT size=3D2>&gt; Can I overcome this =
problem by=20
coding???</FONT> <BR><FONT size=3D2>&gt; </FONT><BR><FONT =
size=3D2>&gt;=20
</FONT></P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_00A8_01C4ACA9.6B0310B0--


Re: Parent Path with Active Server Pages by Kevin

Kevin
Fri Oct 08 03:38:48 CDT 2004

This is a multi-part message in MIME format.

------=_NextPart_000_0018_01C4AD1A.9C8F79E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Re: Parent Path with Active Server PagesIt would be wonderful - but the =
web hosting company will not allow this due to possible security issues. =
Would be nice to do this dynamically, by coding.
Have tried MapPath etc.
"Chris Leeds, MVP-FrontPage" <Leeds@mvps.org> wrote in message =
news:%23ip2zrMrEHA.1900@TK2MSFTNGP10.phx.gbl...
why not just have the production server allow parent pathing? it =
would make your life easier.

--=20
Chris Leeds,
Microsoft MVP-FrontPage

Make More Money with Less Work
Let Your Clients Control Their Content With Just A Browser!
http://contentseed.com/
--
"Kevin" <kevgrim@tesco.net> wrote in message =
news:#fSEmjMrEHA.3416@TK2MSFTNGP15.phx.gbl...
Only problem with using absolute paths is that the development =
server and the production server must be identical - which sadly they =
are not.
"Jens Peter Karlsen[FP MVP]" <jpkarlsen@mvps.org> wrote in message =
news:%23yo85tLrEHA.1952@TK2MSFTNGP12.phx.gbl...
You can overcome it by using absolute URLs.=20

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.=20

> -----Original Message-----=20
> From: Kevin [mailto:kevgrim@tesco.net]=20
> Posted At: 7. oktober 2004 22:41=20
> Posted To: microsoft.public.frontpage.programming=20
> Conversation: Parent Path with Active Server Pages=20
> Subject: Parent Path with Active Server Pages=20
>=20
>=20
> Keep getting the error below, because am using the ../=20
> notation for an include file in the root of a website.=20
> Active Server Pages error 'ASP 0131' Disallowed Parent Path=20
> The Include file '../vbutils.asp' cannot contain '..' to=20
> indicate the parent directory.=20
> The webhosts will not change their settings on IIS6, because=20
> of a potential security issue.=20
> Can I overcome this problem by coding???=20
>=20
>=20

------=_NextPart_000_0018_01C4AD1A.9C8F79E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: Parent Path with Active Server Pages</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1458" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>It would be wonderful - but the web =
hosting company=20
will not allow this due to possible security issues.&nbsp; Would be nice =
to do=20
this dynamically, by coding.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Have tried MapPath etc.</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Chris Leeds, MVP-FrontPage" &lt;<A=20
href=3D"mailto:Leeds@mvps.org">Leeds@mvps.org</A>&gt; wrote in message =
<A=20
=
href=3D"news:%23ip2zrMrEHA.1900@TK2MSFTNGP10.phx.gbl">news:%23ip2zrMrEHA.=
1900@TK2MSFTNGP10.phx.gbl</A>...</DIV>
<DIV><FONT face=3DArial size=3D2>why not just have the production =
server allow=20
parent pathing?&nbsp; it would make your life easier.</FONT></DIV>
<DIV><BR>-- <BR>Chris Leeds,<BR>Microsoft MVP-FrontPage</DIV>
<DIV>&nbsp;</DIV>
<DIV>Make More Money with Less Work<BR>Let Your Clients Control Their =
Content=20
With Just A Browser!<BR><A=20
=
href=3D"http://contentseed.com/">http://contentseed.com/</A><BR>--</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Kevin" &lt;<A=20
href=3D"mailto:kevgrim@tesco.net">kevgrim@tesco.net</A>&gt; wrote in =
message=20
<A=20
=
href=3D"news:#fSEmjMrEHA.3416@TK2MSFTNGP15.phx.gbl">news:#fSEmjMrEHA.3416=
@TK2MSFTNGP15.phx.gbl</A>...</DIV>
<DIV><FONT face=3DArial size=3D2>Only problem with using absolute =
paths is that=20
the development server and the production server must be identical - =
which=20
sadly they are not.</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Jens Peter Karlsen[FP MVP]" &lt;<A=20
href=3D"mailto:jpkarlsen@mvps.org">jpkarlsen@mvps.org</A>&gt; =
wrote in=20
message <A=20
=
href=3D"news:%23yo85tLrEHA.1952@TK2MSFTNGP12.phx.gbl">news:%23yo85tLrEHA.=
1952@TK2MSFTNGP12.phx.gbl</A>...</DIV><!-- Converted from text/plain =
format -->
<P><FONT size=3D2>You can overcome it by using absolute =
URLs.</FONT> </P>
<P><FONT size=3D2>Regards Jens Peter Karlsen. Microsoft MVP - =
Frontpage.=20
</FONT></P>
<P><FONT size=3D2>&gt; -----Original Message-----</FONT> <BR><FONT =

size=3D2>&gt; From: Kevin [<A=20
href=3D"mailto:kevgrim@tesco.net">mailto:kevgrim@tesco.net</A>]=20
</FONT><BR><FONT size=3D2>&gt; Posted At: 7. oktober 2004 =
22:41</FONT>=20
<BR><FONT size=3D2>&gt; Posted To:=20
microsoft.public.frontpage.programming</FONT> <BR><FONT =
size=3D2>&gt;=20
Conversation: Parent Path with Active Server Pages</FONT> =
<BR><FONT=20
size=3D2>&gt; Subject: Parent Path with Active Server Pages</FONT> =
<BR><FONT=20
size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; </FONT><BR><FONT =
size=3D2>&gt; Keep=20
getting the error below, because am using the ../ </FONT><BR><FONT =

size=3D2>&gt; notation for an include file in the root of a =
website.</FONT>=20
<BR><FONT size=3D2>&gt;&nbsp; Active Server Pages error 'ASP 0131' =

Disallowed Parent Path </FONT><BR><FONT size=3D2>&gt; The Include =
file=20
'../vbutils.asp' cannot contain '..' to </FONT><BR><FONT =
size=3D2>&gt;=20
indicate the parent directory.</FONT> <BR><FONT size=3D2>&gt; The =
webhosts=20
will not change their settings on IIS6, because </FONT><BR><FONT=20
size=3D2>&gt; of a potential security issue.</FONT> <BR><FONT =
size=3D2>&gt;=20
Can I overcome this problem by coding???</FONT> <BR><FONT =
size=3D2>&gt;=20
</FONT><BR><FONT size=3D2>&gt;=20
</FONT></P></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0018_01C4AD1A.9C8F79E0--


Re: Parent Path with Active Server Pages by Ronx

Ronx
Fri Oct 08 04:23:38 CDT 2004

Use root relative links - example <a href="/folder/pagename.htm">blah</a>

The development and production servers should have identical file/folder
structures, else development and testing would be hit and miss.

--
Ron

Reply only to group - emails will be deleted unread.


"Kevin" <kevgrim@tesco.net> wrote in message
news:%23fSEmjMrEHA.3416@TK2MSFTNGP15.phx.gbl...
Re: Parent Path with Active Server PagesOnly problem with using absolute
paths is that the development server and the production server must be
identical - which sadly they are not.
"Jens Peter Karlsen[FP MVP]" <jpkarlsen@mvps.org> wrote in message
news:%23yo85tLrEHA.1952@TK2MSFTNGP12.phx.gbl...
You can overcome it by using absolute URLs.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

> -----Original Message-----
> From: Kevin [mailto:kevgrim@tesco.net]
> Posted At: 7. oktober 2004 22:41
> Posted To: microsoft.public.frontpage.programming
> Conversation: Parent Path with Active Server Pages
> Subject: Parent Path with Active Server Pages
>
>
> Keep getting the error below, because am using the ../
> notation for an include file in the root of a website.
> Active Server Pages error 'ASP 0131' Disallowed Parent Path
> The Include file '../vbutils.asp' cannot contain '..' to
> indicate the parent directory.
> The webhosts will not change their settings on IIS6, because
> of a potential security issue.
> Can I overcome this problem by coding???
>
>



Re: Parent Path with Active Server Pages by Kevin

Kevin
Fri Oct 08 04:46:47 CDT 2004

Tried that and the result:-
Active Server Pages error 'ASP 0130'
Invalid File attribute
/bizz/login.asp, line 3
File attribute '/vbutils.asp' cannot start with forward slash or back slash.
That also needs absolute paths on the server :((
Even tried using FrontPage Include Pages - but that gets the same result.

Must be a way around this??? :((

"Ronx" <ronx917@hotmail.com> wrote in message
news:eSjPAiRrEHA.1160@tk2msftngp13.phx.gbl...
> Use root relative links - example <a
href="/folder/pagename.htm">blah</a>
>
> The development and production servers should have identical file/folder
> structures, else development and testing would be hit and miss.
>
> --
> Ron
>
> Reply only to group - emails will be deleted unread.
>
>
> "Kevin" <kevgrim@tesco.net> wrote in message
> news:%23fSEmjMrEHA.3416@TK2MSFTNGP15.phx.gbl...
> Re: Parent Path with Active Server PagesOnly problem with using absolute
> paths is that the development server and the production server must be
> identical - which sadly they are not.
> "Jens Peter Karlsen[FP MVP]" <jpkarlsen@mvps.org> wrote in message
> news:%23yo85tLrEHA.1952@TK2MSFTNGP12.phx.gbl...
> You can overcome it by using absolute URLs.
>
> Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
>
> > -----Original Message-----
> > From: Kevin [mailto:kevgrim@tesco.net]
> > Posted At: 7. oktober 2004 22:41
> > Posted To: microsoft.public.frontpage.programming
> > Conversation: Parent Path with Active Server Pages
> > Subject: Parent Path with Active Server Pages
> >
> >
> > Keep getting the error below, because am using the ../
> > notation for an include file in the root of a website.
> > Active Server Pages error 'ASP 0131' Disallowed Parent Path
> > The Include file '../vbutils.asp' cannot contain '..' to
> > indicate the parent directory.
> > The webhosts will not change their settings on IIS6, because
> > of a potential security issue.
> > Can I overcome this problem by coding???
> >
> >
>
>



Re: Parent Path with Active Server Pages by clintonG

clintonG
Fri Oct 08 09:25:06 CDT 2004

There is a solution but it requires using .NET which supports
the tilde operator, i.e. ~/folder/file.aspx

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET csgallagher@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/



"Kevin" <kevgrim@tesco.net> wrote in message
news:Os6Y8uRrEHA.3256@TK2MSFTNGP10.phx.gbl...
> Tried that and the result:-
> Active Server Pages error 'ASP 0130'
> Invalid File attribute
> /bizz/login.asp, line 3
> File attribute '/vbutils.asp' cannot start with forward slash or back
slash.
> That also needs absolute paths on the server :((
> Even tried using FrontPage Include Pages - but that gets the same result.
>
> Must be a way around this??? :((
>
> "Ronx" <ronx917@hotmail.com> wrote in message
> news:eSjPAiRrEHA.1160@tk2msftngp13.phx.gbl...
> > Use root relative links - example <a
> href="/folder/pagename.htm">blah</a>
> >
> > The development and production servers should have identical file/folder
> > structures, else development and testing would be hit and miss.
> >
> > --
> > Ron
> >
> > Reply only to group - emails will be deleted unread.
> >
> >
> > "Kevin" <kevgrim@tesco.net> wrote in message
> > news:%23fSEmjMrEHA.3416@TK2MSFTNGP15.phx.gbl...
> > Re: Parent Path with Active Server PagesOnly problem with using absolute
> > paths is that the development server and the production server must be
> > identical - which sadly they are not.
> > "Jens Peter Karlsen[FP MVP]" <jpkarlsen@mvps.org> wrote in message
> > news:%23yo85tLrEHA.1952@TK2MSFTNGP12.phx.gbl...
> > You can overcome it by using absolute URLs.
> >
> > Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
> >
> > > -----Original Message-----
> > > From: Kevin [mailto:kevgrim@tesco.net]
> > > Posted At: 7. oktober 2004 22:41
> > > Posted To: microsoft.public.frontpage.programming
> > > Conversation: Parent Path with Active Server Pages
> > > Subject: Parent Path with Active Server Pages
> > >
> > >
> > > Keep getting the error below, because am using the ../
> > > notation for an include file in the root of a website.
> > > Active Server Pages error 'ASP 0131' Disallowed Parent Path
> > > The Include file '../vbutils.asp' cannot contain '..' to
> > > indicate the parent directory.
> > > The webhosts will not change their settings on IIS6, because
> > > of a potential security issue.
> > > Can I overcome this problem by coding???
> > >
> > >
> >
> >
>
>



Re: Parent Path with Active Server Pages by ww

ww
Wed Jan 05 03:55:02 CST 2005

copy the includet file to all the folders where the asp-pages
and remuove manually the "../" from the source.


"Kevin" wrote:

> Tried that and the result:-
> Active Server Pages error 'ASP 0130'
> Invalid File attribute
> /bizz/login.asp, line 3
> File attribute '/vbutils.asp' cannot start with forward slash or back slash.
> That also needs absolute paths on the server :((
> Even tried using FrontPage Include Pages - but that gets the same result.
>
> Must be a way around this??? :((
>
> "Ronx" <ronx917@hotmail.com> wrote in message
> news:eSjPAiRrEHA.1160@tk2msftngp13.phx.gbl...
> > Use root relative links - example <a
> href="/folder/pagename.htm">blah</a>
> >
> > The development and production servers should have identical file/folder
> > structures, else development and testing would be hit and miss.
> >
> > --
> > Ron
> >
> > Reply only to group - emails will be deleted unread.
> >
> >
> > "Kevin" <kevgrim@tesco.net> wrote in message
> > news:%23fSEmjMrEHA.3416@TK2MSFTNGP15.phx.gbl...
> > Re: Parent Path with Active Server PagesOnly problem with using absolute
> > paths is that the development server and the production server must be
> > identical - which sadly they are not.
> > "Jens Peter Karlsen[FP MVP]" <jpkarlsen@mvps.org> wrote in message
> > news:%23yo85tLrEHA.1952@TK2MSFTNGP12.phx.gbl...
> > You can overcome it by using absolute URLs.
> >
> > Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
> >
> > > -----Original Message-----
> > > From: Kevin [mailto:kevgrim@tesco.net]
> > > Posted At: 7. oktober 2004 22:41
> > > Posted To: microsoft.public.frontpage.programming
> > > Conversation: Parent Path with Active Server Pages
> > > Subject: Parent Path with Active Server Pages
> > >
> > >
> > > Keep getting the error below, because am using the ../
> > > notation for an include file in the root of a website.
> > > Active Server Pages error 'ASP 0131' Disallowed Parent Path
> > > The Include file '../vbutils.asp' cannot contain '..' to
> > > indicate the parent directory.
> > > The webhosts will not change their settings on IIS6, because
> > > of a potential security issue.
> > > Can I overcome this problem by coding???
> > >
> > >
> >
> >
>
>
>

Re: Parent Path with Active Server Pages by Kevin

Kevin
Thu Jan 06 14:30:49 CST 2005

Would work but not a very elegant solution.
Think Microsoft missed this one as seems to be an odd and annoying error.

Kevin

"Walter" <ww@venezuela-info.org> wrote in message
news:27F12768-7A49-4317-A6E0-20EA35C4426B@microsoft.com...
> copy the includet file to all the folders where the asp-pages
> and remuove manually the "../" from the source.
>
>
> "Kevin" wrote:
>
>> Tried that and the result:-
>> Active Server Pages error 'ASP 0130'
>> Invalid File attribute
>> /bizz/login.asp, line 3
>> File attribute '/vbutils.asp' cannot start with forward slash or back
>> slash.
>> That also needs absolute paths on the server :((
>> Even tried using FrontPage Include Pages - but that gets the same result.
>>
>> Must be a way around this??? :((
>>
>> "Ronx" <ronx917@hotmail.com> wrote in message
>> news:eSjPAiRrEHA.1160@tk2msftngp13.phx.gbl...
>> > Use root relative links - example <a
>> href="/folder/pagename.htm">blah</a>
>> >
>> > The development and production servers should have identical
>> > file/folder
>> > structures, else development and testing would be hit and miss.
>> >
>> > --
>> > Ron
>> >
>> > Reply only to group - emails will be deleted unread.
>> >
>> >
>> > "Kevin" <kevgrim@tesco.net> wrote in message
>> > news:%23fSEmjMrEHA.3416@TK2MSFTNGP15.phx.gbl...
>> > Re: Parent Path with Active Server PagesOnly problem with using
>> > absolute
>> > paths is that the development server and the production server must be
>> > identical - which sadly they are not.
>> > "Jens Peter Karlsen[FP MVP]" <jpkarlsen@mvps.org> wrote in message
>> > news:%23yo85tLrEHA.1952@TK2MSFTNGP12.phx.gbl...
>> > You can overcome it by using absolute URLs.
>> >
>> > Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
>> >
>> > > -----Original Message-----
>> > > From: Kevin [mailto:kevgrim@tesco.net]
>> > > Posted At: 7. oktober 2004 22:41
>> > > Posted To: microsoft.public.frontpage.programming
>> > > Conversation: Parent Path with Active Server Pages
>> > > Subject: Parent Path with Active Server Pages
>> > >
>> > >
>> > > Keep getting the error below, because am using the ../
>> > > notation for an include file in the root of a website.
>> > > Active Server Pages error 'ASP 0131' Disallowed Parent Path
>> > > The Include file '../vbutils.asp' cannot contain '..' to
>> > > indicate the parent directory.
>> > > The webhosts will not change their settings on IIS6, because
>> > > of a potential security issue.
>> > > Can I overcome this problem by coding???
>> > >
>> > >
>> >
>> >
>>
>>
>>