http verb post is used to acess the path '..' is not allowed

Last post 06-18-2009 5:12 AM by CrazyChief. 1 replies.

Sort Posts:

  • http verb post is used to acess the path '..' is not allowed

    06-18-2009, 1:42 AM
    • Member
      point Member
    • leelakumar06
    • Member since 06-18-2009, 5:26 AM
    • Posts 1

    in my project one folder contains files when i am opening the file by running the project it shows the error as "http verb post is used to acess the path '..' is not allowed" .

    any one can solve this problem.

  • Re: http verb post is used to acess the path '..' is not allowed

    06-18-2009, 5:12 AM
    Answer
    • Member
      698 point Member
    • CrazyChief
    • Member since 04-17-2008, 5:56 AM
    • Posts 111

     Hi,

    how do you set the filepath? Absolute or relative? if you are working with relative pathes you should work with Server.MapPath(relativePath) or with HttpContext.Current.Server.MapPath(...) if you are in static context.

    If that doesn't help, it would be helpfull if you post the relevant lines of your code.

     

    Andi

Page 1 of 1 (2 items)