This topic is locked

Disallowed Path Characters (MapPath to DB)

3/2/2005 11:07:20 AM
ASPRunnerPro General questions
garydee author

Got a strange one here guys - built my app - works well locally but when I uploaded it to my webserver online i came back with the error below when you try to access the login page.
I've tried it on another ASP server and it worked fine - so theres nothing wrong with the code as such - but wondering if anyone else ever seen this or know how to correct it - I assume its something to do with my host servers settings??

Any help very much appreciated <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=1188&image=1&table=forumtopics' class='bbc_emoticon' alt=':)' />
==========

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

==========
Thanks guys
GaryDee

Ireland

Admin 3/3/2005

Gary,
what do you put into the Server.MapPath input box in ASPRunnerPro?
Usually you need to put something like db or ../database there.

garydee author 3/3/2005

I put in:
..\..\private
leading the script back two folders and into the private folder (above the root of the site) to the database.
Like I know this works as I have successfully done it locally and on another ASP webserver.
But when I put it on this new sites ASP webserver it gives this error (but this SAME code works on other servers) if u get my drift lol <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=3571&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />
I'm a bit mistified to what the problem is?
G

garydee author 3/3/2005

im thinking it is a windows 2003 error Sergey
found the error on microsoft help and have alerted the host to change the settings if they can
heres the link if anyone else experiences this guys!
http://support.microsoft.com/default.aspx?...kb;en-us;332117
Cheers
G