Web.Config : Specify a folder location [path] on the server RRS feed

  • Question

  • User1336012376 posted


    for a VB.NET website:

    I am trying to set or specify a folder's location in the web.config. The folder is in the server.

    When I try to access the folder using the application, I am unable to.

    "Server.Mappath" is unable to map the path.

    I tried to google a lot, but still could not find the answer.

    Friday, August 1, 2014 12:24 AM


  • User-1345528502 posted


    Show how you tried to access this .

    If its in root folder - make use of ~
    If you need to get parent folder use ../


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 6, 2014 6:10 AM

All replies