This:
string sFile = @"E:\Proyect\Beta\websiges\files\temp\" + nameDoc() + tipeDoc;
This url reads an image , but do not want to have the url with the "E " direction as it is a web project and urls must be dynamic . I tried to put it this way :
string sFile = @"~\files\temp\" + nameDoc() + tipeDoc;
But do not read the file. I await your contribution , thank you.