[thelist] HELP with .asp bulletin board Broadboard

Trisha Salas graftedin at sbcglobal.net
Sun Aug 3 22:46:18 CDT 2003


Ken,

Funny how four little dots can make so much difference!!  IT is working
great now.  Thank you from the bottom of my heart :o)

Trisha

-----Original Message-----
From: thelist-bounces-graftedin=sbcglobal.net at lists.evolt.org
[mailto:thelist-bounces-graftedin=sbcglobal.net at lists.evolt.org]On Behalf Of
Ken Schaefer
Sent: Sunday, August 03, 2003 10:21 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] HELP with .asp bulletin board Broadboard


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


--
* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !




More information about the thelist mailing list