W
webonomic
A number of topics ask how to solve the "Cannot use a leading .. to
exit above the top directory" error.
I am having the same problem with an asp.net 2.0 website. The site
works fine on Localhost, but not when I move the site to my hosting
company.
I've read that turning the Parent Paths option to ON in the IIS
properties should do the trick. It is ON for both my localhost and my
online host. Only the localhost still works.
I've switched hardcoded links from "../app/mypage.aspx" where ../
(brings you to the Root directory) to "/app/mypage.aspx" thinking that
the ".." is what is causing the problem.
The site implements a Masterpage in the root directory.
Maybe this is some kind of permissions thing?
Please please help!
exit above the top directory" error.
I am having the same problem with an asp.net 2.0 website. The site
works fine on Localhost, but not when I move the site to my hosting
company.
I've read that turning the Parent Paths option to ON in the IIS
properties should do the trick. It is ON for both my localhost and my
online host. Only the localhost still works.
I've switched hardcoded links from "../app/mypage.aspx" where ../
(brings you to the Root directory) to "/app/mypage.aspx" thinking that
the ".." is what is causing the problem.
The site implements a Masterpage in the root directory.
Maybe this is some kind of permissions thing?
Please please help!