Jan 22, 2008

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

When I do a server.mappath on ../../private, I get this error:Cannot use a leading .. to exit above the top directory.

try to use Server.MapPath("~/private"). It is more reliable. What willhappen when u add another subdirectory... Server.MapPath("~/private") willstill works.