[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] ASP Error
- Subject: RE: [cobalt-users] ASP Error
- From: "Bob Noordam" <mac@xxxxxxxx>
- Date: Tue Mar 9 23:54:00 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.
>
On IIS, you can easily allow or disallow parent paths. I have not found the
same setting on SUNOne ASP/ChiliASP. However, there is a workaround. At most
times the error is caused by something like
Include file = "../Directory/file.asp"
Dreamweaver for instance, generates it's database connections that way. If
you change the code to read
Incude virtual = "/Directory/file.asp"
It will work. If you problem is dreamweaver related, there is a
knowledgebase item on the dreamweaver site how to change the default
behaviour. If it's your own code, search and replace should do nicely.
Bob.