Print Page | Close Window

Disallowed Path Characters ’..’

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=4757
Printed Date: 02 April 2026 at 1:08pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Disallowed Path Characters ’..’
Posted By: Eurgene I
Subject: Disallowed Path Characters ’..’
Date Posted: 05 August 2003 at 8:19am

but why?

Server.MapPath() error 'ASP 0175 : 80004005'

 /cgi-bin/forum701/common.asp, line 175

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

 

For the information: common.asp, line 175

strDbPathAndName = Server.MapPath("../../dat/wwForum.mdb")  'This is the path of the database from this files location on the server

Thank for the help



-------------
"If you healthy one, you hadn't been examined." . All about of laboratory tests on http://www.primer.ru - www.primer.ru



Replies:
Posted By: WebWiz-Bruce
Date Posted: 05 August 2003 at 9:44am

This means that the web server you are using is setup not to allow perent path (ie. ../) is not allowed on the web server you are using.

Either get your web hosts to change the security settings for your site to allow parent paths or you will have to get rid of the MapPath method and use the physical server file path to the database.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net