[thelist] HELP with .asp bulletin board Broadboard

Ken Schaefer ken at adOpenStatic.com
Sun Aug 3 22:20:44 CDT 2003



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Trisha Salas" <graftedin at sbcglobal.net>
Subject: [thelist] HELP with .asp bulletin board Broadboard

: http://www.tulsaballet.org/tbcde/board.htm  will give an
: error message that I am getting with this board.  I am not
: sure what files to send or how to even ask for help since
: asp is a foreign language.  This was supposed to be
: easy (sigh).
:
: Does anyone know enough that this won't be too
: much trouble to help me troubleshoot?  OR.maybe
: know of an alternative product that might be a
: little easier to install.  I just need a simple bulletin
: board for teachers and students to interact.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Server.MapPath() error 'ASP 0175 : 80004005'
Disallowed Path Characters
/tbcde/forum/bbdata.asp, line 5
The '..' characters are not allowed in the Path parameter for the MapPath
method.

On line 5 of /tbcde/forum/bbdata.asp you have a call to Server.Mappath(),
and the parameter that you supplied uses .. characters, which are not
allowed if the server admin has disabled "Parent Paths" (which is a good
thing!).

Instead, change the parameter so that it doesn't use parent paths (ie it
doesn't attempt to go back up the directory tree). Instead, supply a path
that starts from the virtual root of the website. E.g. instead of:

    Server.Mappath("../../db/myDatabase.mdb")

use

    Server.Mappath("/db/myDatabase.mdb")

where the first / signifies the root of your website.

Cheers
Ken




More information about the thelist mailing list