Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 "cannot contain '..' to indicate the parent...."
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 07 May 2001 :  03:51:54  Show Profile  Visit tomasalsbro's Homepage
Hi,
Whats wrong?
=============
Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/forum/tools/mod_dbsetup.asp, line 1

The Include file '../config.asp' cannot contain '..' to indicate the parent directory.
===================
I'v search to see if I could find anything about this - but didn't found anything.
I'm trying to set up Huw's File Attachments mod.
Cheers / Tomas

!-Keep distance in traffic-!
www.whiplash.pp.se

gor
Retired Admin

Netherlands
5511 Posts

Posted - 07 May 2001 :  04:08:33  Show Profile  Visit gor's Homepage
On a webserver you can select to allow of disallow the use of .. in a url.
On your server this probably has been disallowed. See: http://www.microsoft.com/technet/security/iischk.asp#IIS17

Pierre
Join the Snitz WebRing
Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 07 May 2001 :  04:31:11  Show Profile  Visit tomasalsbro's Homepage
Hi Pierre!
I found the problem in Microsoft Knowledge databas. I'm not in controll of the server, and even though - I would have been to affraid of security problems - so I hade to use "virtual path in order to get it to work - and it did!
Look here:
Err Msg: Active Server Pages, ASP 0131 Disallowed Parent Path
Cheers and thanks Pierre!
Tomas


!-Keep distance in traffic-!
www.whiplash.pp.se

Edited by - tomasalsbro on 07 May 2001 04:32:39
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 07 May 2001 :  06:20:47  Show Profile  Visit HuwR's Homepage
just remove the ../ from infront of config, and move the mod_dbsetup.asp into your forum's root directory

Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 08 May 2001 :  02:37:06  Show Profile  Visit tomasalsbro's Homepage
quote:

just remove the ../ from infront of config, and move the mod_dbsetup.asp into your forum's root directory




OK Huw,
but what about the other attached files? Can I handle the files in the directorys "Include" and "Mods" the same - just move them to the forum root?
Cheers / Tomas

!-Keep distance in traffic-!
www.whiplash.pp.se
Go to Top of Page

Rawly
Starting Member

United Kingdom
41 Posts

Posted - 08 June 2001 :  16:32:18  Show Profile  Visit Rawly's Homepage  Send Rawly an AOL message  Send Rawly an ICQ Message  Send Rawly a Yahoo! Message
quote:

just remove the ../ from infront of config, and move the mod_dbsetup.asp into your forum's root directory



instead of moving files try
<!--#Include virtual="/config.asp"-->

Rawly
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 09 June 2001 :  13:55:22  Show Profile  Visit dayve's Homepage
quote:

quote:

just remove the ../ from infront of config, and move the mod_dbsetup.asp into your forum's root directory



instead of moving files try
<!--#Include virtual="/config.asp"-->

Rawly



this mod is different Rawly. it has other directories that need to do this. it would require some "ugly" edits to put everything in parent folder.

BTW: I moved to a new host because of this same exact situation. the host thought it was my coding until I moved it to my server and ran it just fine. they don't know why that type of include would not work but now I am going to send them this TID. Thanks a lot.!!

Dayve
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 1.65 seconds. Powered By: Snitz Forums 2000 Version 3.4.07