zahra_a
جمعه 26 بهمن 1397, 14:55 عصر
سلام
من کد زیر را نوشتم اما وقتی به دستور SaveAs میرسه خطای access to the path ... is denied رو میده. به فولدری که قراره فیله توش سو بشه full control permission دادم والی بازم خطا داره
;(string ImageFileName = Path.GetFileName(img.FileName
;(("string FolderPath = Path.Combine(Server.MapPath("~/UploadImages
;(img.SaveAs(FolderPath
من کد زیر را نوشتم اما وقتی به دستور SaveAs میرسه خطای access to the path ... is denied رو میده. به فولدری که قراره فیله توش سو بشه full control permission دادم والی بازم خطا داره
;(string ImageFileName = Path.GetFileName(img.FileName
;(("string FolderPath = Path.Combine(Server.MapPath("~/UploadImages
;(img.SaveAs(FolderPath