[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] ASP Error



> 
> 
> 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