[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] ASP Error
- Subject: RE: [cobalt-users] ASP Error
- From: "Ligard, Vidar" <vligard@xxxxxxxxx>
- Date: Wed Mar 10 06:42:02 2004
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
>
>
> Dear All,
>
> Does any body know how to fix this error :
>
> Active Server Pages error 'ASP 0131'
> Disallowed Parent Path
> /daily_report/pilot_report/pk-kdk1.asp, line 127
> The Include file '../../_fpclass/fpdblib.inc' cannot contain
> '..' to indicate the parent directory.
>
When using ASP, try using the Server.MapPath
varFileName = Server.MapPath("../../_fpclass/fpdblib.inc")
With SUN Chilisoft, there is an option to allow /disallow access to the
directory at any level above the path of the script you are running. If
this is set to disallow, your script will not work. I don't remember the
setting, but it may only be available in the config file, not in the
GUI, I forget.
Vidar