hii,
string output =Server.MapPath((sFileServerDir) + "/" + fileName + "_Enc" + fileExtension);
gives error ''c:/submissio/asd.txt' is a physical path, but a virtual path was expected'. plz help me.
Andrea's reply is absolutely correct.
Virtual path means ~/Images/1.jpg
while Absolute means C:\images\1.jpg.
Server.MapPath expects Virtual path and not Absolute.
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.