Server.MapPath(".")
returns the current physical directory of the file (e.g. aspx) being executed
Server.MapPath("..")
returns the parent directory
Server.MapPath("~")
returns the physical path to the root of the application
Server.MapPath("/")
returns the physical path to the root of the domain name (is not necessarily the same as the root of the application)
Check out this link for more info:
http://stackoverflow.com/questions/275781/server-mappath-server-mappath-server-mappath-server-mappath[
^]
...or do you need ResolveURL?
http://www.mycsharpcorner.com/Post.aspx?postID=45[
^]
Good luck!