Print Page | Close Window

huh?

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=6823
Printed Date: 06 April 2026 at 10:19am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: huh?
Posted By: DragonFist
Subject: huh?
Date Posted: 29 October 2003 at 8:31am

when i enter my forums i get this error:

 

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

Invalid Path Character(s)

/board/forum/common.asp, line 193

An invalid '/' or '\' was found in the Path parameter for the MapPath method.

and i didnt do anything except downloading some files from the forum folder on my server!

 



-------------

Legends Live Forever



Replies:
Posted By: BOB1
Date Posted: 29 October 2003 at 8:36am

Maybe the DB path isn't o.k?

Check common.asp



Posted By: DragonFist
Date Posted: 29 October 2003 at 8:44am

my path:

'Virtual path to database
strDbPathAndName = Server.MapPath(" file://\\nas01ent\domains\d\mydomain.co.il\user\private\cantellu.mdb - \\nas01ent\domains\d\mydomain.co.il\user\private\cantellu.md b ")  'This is the path of the database from this files location on the server

'Physical path to database
'strDbPathAndName = " file://\\nas01ent\domains\d\mydomain.co.il\user\private\cantellu.mdb - \\nas01ent\domains\d\mydomain.co.il\user\private\cantellu.md b " 'Use this if you use the physical server path, eg:- C:\Inetpub\private\WebWizForum.mdb

and its 100% ok, worked great for the past 6 month!



-------------

Legends Live Forever


Posted By: BOB1
Date Posted: 29 October 2003 at 9:30am
it's now wise to put your DB name and path here.


Posted By: DragonFist
Date Posted: 29 October 2003 at 10:12am

its not my real.......im not stupid

the "icantellyou"

and "mydomain.co.il"

are fake

PLZZZZZZZZZZZZZZZZZ HELP ME!!!



-------------

Legends Live Forever


Posted By: fernan82
Date Posted: 29 October 2003 at 10:16am
Did this just started happening..? If so I would contact your webhost, probably they did some upgrades or something and the path has changed...

-------------
FeRnAN
http://www.danasoft.com/">


Posted By: fernan82
Date Posted: 29 October 2003 at 10:18am
Actually, try uncommenting the physical path and comment the virtual one... Did you just upgraded to v7.5?

-------------
FeRnAN
http://www.danasoft.com/">


Posted By: DragonFist
Date Posted: 29 October 2003 at 10:58am

well ive tried upgrading to 7.5 by downloading my DB, and downloading some picture files from the forum folder on my web server, than i uploaded the V7.5 forum and i got this error:

Microsoft JET Database Engine error '80004005'

'\\nas01ent\domains\d\mydomain.co.il\user\htdocs\nas01ent\do mains\d\mydomain.co.il\user\private\cantellu.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

/forum/common.asp, line 250

than i said "ok it wont work, lets get back to 7.01" and than i entered my 7.01 forum and i had the error i wrote above!

than i tried uploading the fixed DB with the "Browser" changed to "20" as said and the 7.5 still wrote this error:

'\\nas01ent\domains\d\mydomain.co.il\user\htdocs\nas01ent\do mains\d\mydomain.co.il\user\private\cantellu.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

/forum/common.asp, line 250

do you think its web server thing?



-------------

Legends Live Forever


Posted By: WebWiz-Bruce
Date Posted: 29 October 2003 at 11:53am
If you are using the physical path you need to comment the string that users the mapPath method and uncomment the string that doesn't have the MapPath method:-

Virtual path to database
'strDbPathAndName = Server.MapPath(" file://%5C%5Cnas01ent%5Cdomains%5Cd%5Cmydomain.co.il%5Cuser%5Cprivate%5Ccantellu.mdb - \\nas01ent\domains\d\mydomain.co.il\user\private\cantellu.md b ")  'This is the path of the database from this files location on the server 'Physical path to database
strDbPathAndName = " file://%5C%5Cnas01ent%5Cdomains%5Cd%5Cmydomain.co.il%5Cuser%5Cprivate%5Ccantellu.mdb - \\nas01ent\domains\d\mydomain.co.il\user\private\cantellu.md b "


See the ' is placed in on the top one and removed from the bottom one.


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


Posted By: DragonFist
Date Posted: 30 October 2003 at 8:01am

10x borg, i tried to do what you said, so i downloaded a new copy of the forum and got a new common.asp, and now i get this error:

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

Invalid Path Character(s)

/forum/common.asp, line 193

An invalid '/' or '\' was found in the Path parameter for the MapPath method.



-------------

Legends Live Forever


Posted By: michael
Date Posted: 30 October 2003 at 8:09am
Naturally you get this error when you use Mappath and still use the same syntax as before being \\nas.....
You cannot put a UNC path into a mappath statement. Use a physical path instead.


-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: DragonFist
Date Posted: 30 October 2003 at 8:32am

ok when i using the mappath and the physical both (i wrote my DB path in the physical and the mappath) i get this error as usual:

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

Invalid Path Character(s)

/forum/common.asp, line 193

An invalid '/' or '\' was found in the Path parameter for the MapPath method.

when i use only the physical (i didnt write my DB path in the map path) i get this error:

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

Missing Path

/forum/common.asp, line 193

The Path parameter must be specified for the MapPath method.

oh oh! and my DB path (the one i tried both in only physical, only map path, and both) is:

file://\\nas01ent\domains\d\CANTELLU.co.il\user\private\CANTELLU.mdb - \\nas01ent\domains\d\CANTELLU.co.il\user\private\CANTELLU.md b

the "CANTELLU" is not real, just wrote it here so no one will my with my DB....

 



-------------

Legends Live Forever


Posted By: WebWiz-Bruce
Date Posted: 30 October 2003 at 9:18am
if you use the physical path you can not use the MapPath method.

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


Posted By: DragonFist
Date Posted: 30 October 2003 at 12:16pm

No you dont understand me......

Using Physical ONLY Path

Example:

'Virtual path to database
strDbPathAndName = Server.MapPath("")  'This is the path of the database from this files location on the server

'Physical path to database
'strDbPathAndName = " file://nas01ent/domains/d/mydomain.co.il/user/private/CANTELLU.mdb - \\nas01ent\domains\d\mydomain.co.il\user\private\CANTELLU.md b " 'Use this if you use the physical server path, eg:- C:\Inetpub\private\wwForum.mdb

Error:

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

Missing Path

/forum/common.asp, line 193

The Path parameter must be specified for the MapPath method.

==========================================

Using Virtual MapPath ONLY

Example:

'Virtual path to database
strDbPathAndName = Server.MapPath(" file://nas01ent/domains/d/mydomain.co.il/user/private/CANTELLU.mdb - \\nas01ent\domains\d\mydomain.co.il\user\private\CANTELLU.md b ")  'This is the path of the database from this files location on the server

'Physical path to database
'strDbPathAndName = "" 'Use this if you use the physical server path, eg:- C:\Inetpub\private\wwForum.mdb

Error:

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

Invalid Path Character(s)

/forum/common.asp, line 193

An invalid '/' or '\' was found in the Path parameter for the MapPath method.

==========================================

Using Both Virtual MapPath And Phisical Path

Example:

'Virtual path to database
strDbPathAndName = Server.MapPath(" file://nas01ent/domains/d/mydomain.co.il/user/private/CANTELLU.mdb - \\nas01ent\domains\d\mydomain.co.il\user\private\CANTELLU.md b ")  'This is the path of the database from this files location on the server

'Physical path to database
'strDbPathAndName = " file://nas01ent/domains/d/mydomain.co.il/user/private/CANTELLU.mdb - \\nas01ent\domains\d\mydomain.co.il\user\private\CANTELLU.md b " 'Use this if you use the physical server path, eg:- C:\Inetpub\private\wwForum.mdb

Error:

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

Invalid Path Character(s)

/forum/common.asp, line 193

An invalid '/' or '\' was found in the Path parameter for the MapPath method.

==========================================

You see i tried uploading common.asp with these 3 ways and always got errors!

what do i do?



-------------

Legends Live Forever


Posted By: michael
Date Posted: 30 October 2003 at 12:47pm
Sorry but I don't think you understand. If you use a mappath you CANNOT have a physical path statement in there. It should look something like:
strDbPathAndName = Server.MapPath(" file://nas01ent/domains/d/mydomain.co.il/user/private/CANTELLU.mdb - ..\private\CANTELLU.md b ")

If you choose a physical path make sure that you uncomment the physical path line and comment the mappath line.


-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: DragonFist
Date Posted: 31 October 2003 at 1:51am

ohhhh, ok i tried to do what you said and i got this error AGAIN:

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

Invalid Path Character(s)

/board/forum/common.asp, line 193

An invalid '/' or '\' was found in the Path parameter for the MapPath method.

i did like this:

'Virtual path to database
strDbPathAndName = Server.MapPath("..\private\CANTELLU.mdb")  'This is the path of the database from this files location on the server

'Physical path to database
'strDbPathAndName = "" 'Use this if you use the physical server path, eg:- C:\Inetpub\private\wwForum.mdb

plz if im missing something here tell me how it must be, im pretty much ASP newbie...sorry for being that stupid....



-------------

Legends Live Forever


Posted By: DragonFist
Date Posted: 31 October 2003 at 4:07am

oh i got it

im ok now

10x alot!!



-------------

Legends Live Forever


Posted By: No RuLEz
Date Posted: 22 November 2003 at 3:45am
What solved the problem?

-------------

Web Wiz Hebrew Project Manager.



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