samedi 25 avril 2015

ASP.NET Access to Path "something" is denied. (and most of solutions here didn't work)


I am trying to upload a file, an image, to a folder in the server called images, when i click the button to upload it, after it passes ImageUpload.SaveAs(Path) i get an exception "Access to Path "any path here" is denied, now i tried editing the security tab of the folder and gave permission to NETWORK SERVICE, i tried giving permission to IIS AppPool\DefaultAppPool, still not working. i also enabled ASP.NET Impersonation in the iis manager as some other people said, still same error.


Aucun commentaire:

Enregistrer un commentaire