c# - Access to Path "something" is denied -


most of solutions here don't work.

i trying upload file, image, folder in server called images, when click button upload it, after passes imageupload.saveas(path) exception "access path "any path here" denied, tried editing security tab of folder , gave permission network service, tried giving permission iis apppool\defaultapppool, still not working. enabled asp.net impersonation in iis manager other people said, still same error.

the default identity applicationpool runs in, applicationpoolidentity, not network service account.

you assign modify rights on folder applicationpoolidentity (look here), or can change identity of application pool different user permissions on uploads folder.

do take care when run applicationpool different user: make sure not give user more rights in absolutely needs.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -