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