?
Solved

The '..' characters are not allowed in the Path parameter for the MapPath method

Posted on 2003-03-06
2
Medium Priority
?
514 Views
Last Modified: 2012-06-22
The '..' characters are not allowed in the Path parameter for the MapPath method


objConn.Open "DBQ=" & Server.Mappath("../db.mdb") & ";Driver={Microsoft Access Driver (*.mdb)};"


I get that error.. I run my own server so if somebody can say how i can solve that problem (is this an server option?)

thx
0
Comment
Question by:terie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
AmericanDogma earned 100 total points
ID: 8081949
Pass the path as a compleet virtual path starting with the forward slash

Server.MapPath("/mydir/mysubdir/db.mdb")
0
 

Author Comment

by:terie
ID: 8082586
thx
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question