include files

include files

am 29.08.2007 20:58:04 von hugh welford

Hi
Just upgraded to Vista Ultimate, and running IIS7 for offline web
development.

Suddenly getting the message
---------------------------------------------------------
Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/daters/cards/previewCard.asp, line 98

The Include file '../viral_update.inc' cannot contain '..' to indicate the
parent directory.
------------------------------------------------------------ ------------------------------
This worked fine in Win XP Pro/IIS6

What goes on? Do I have to use the full path or must the include file be
located in the same directory(which of course works, but involves
maintaining accurate duplicates). Seems a backward step

Thanks Hugh

Re: include files

am 29.08.2007 21:14:38 von reb01501

hugh welford wrote:
> Hi
> Just upgraded to Vista Ultimate, and running IIS7 for offline web
> development.
>
> Suddenly getting the message
> ---------------------------------------------------------
> Active Server Pages error 'ASP 0131'
>
> Disallowed Parent Path
>
> /daters/cards/previewCard.asp, line 98
>
> The Include file '../viral_update.inc' cannot contain '..' to
> indicate the parent directory.
> ------------------------------------------------------------ ----------
--------------------
> This worked fine in Win XP Pro/IIS6
>
> What goes on? Do I have to use the full path or must the include file
> be located in the same directory(which of course works, but involves
> maintaining accurate duplicates). Seems a backward step
>
No, you have to use IIS Mgr to enable parent paths (in IIS6, it's done
in the application configuration dialog), which are off by default in
IIS6 and higher ... nothing to do with Vista :-)

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Re: include files

am 29.08.2007 23:12:19 von hugh welford

Thanks yet again, Bob - we'll have to stop meeting like this!!!

You guys do a fantastuc job

Thanks

Hugh


"Bob Barrows [MVP]" wrote in message
news:escSZDn6HHA.2312@TK2MSFTNGP06.phx.gbl...
> hugh welford wrote:
>> Hi
>> Just upgraded to Vista Ultimate, and running IIS7 for offline web
>> development.
>>
>> Suddenly getting the message
>> ---------------------------------------------------------
>> Active Server Pages error 'ASP 0131'
>>
>> Disallowed Parent Path
>>
>> /daters/cards/previewCard.asp, line 98
>>
>> The Include file '../viral_update.inc' cannot contain '..' to
>> indicate the parent directory.
>> ------------------------------------------------------------ ----------
> --------------------
>> This worked fine in Win XP Pro/IIS6
>>
>> What goes on? Do I have to use the full path or must the include file
>> be located in the same directory(which of course works, but involves
>> maintaining accurate duplicates). Seems a backward step
>>
> No, you have to use IIS Mgr to enable parent paths (in IIS6, it's done
> in the application configuration dialog), which are off by default in
> IIS6 and higher ... nothing to do with Vista :-)
>
> --
> Microsoft MVP -- ASP/ASP.NET
> Please reply to the newsgroup. The email account listed in my From
> header is my spam trap, so I don't check it very often. You will get a
> quicker response by posting to the newsgroup.
>
>