Cannot use a leading ../ to exit above the top directory

前端 未结 10 872
小蘑菇
小蘑菇 2020-11-30 08:37

I have a asp.net web site with it we have admin area with login page for admin only and all site is allowed for all - i need to ask how to define the right security configur

10条回答
  •  攒了一身酷
    2020-11-30 08:55

    I had such a problem and the answer, although frustrating to find, was solved by doing a search on the offending page for the ".." in the error message. I am using Visual Studio Express and the solution was changing "../../Images/" to "~/Images/" . Hopefully this will help someone.

提交回复
热议问题