c# - fileupload is not saving a file in online server -
fileupload control not saving file in on-line server while working fine in local host. same code working in other side. hosting site bigrock
string extf = path.getextension(pfileupload.filename.tostring()); string photo = guid.newguid().tostring() + extf; if (pfileupload.hasfile) { pfileupload.saveas(server.mappath("~/images/pro/") + photo); } access path 'd:\inetpub\vhosts\techmutnauq.com\sportsday\images\pro\0070b1fb-8be4-447f-b33e-71b11b0a1400.jpg' denied.
Comments
Post a Comment