ASP.net Getting the error “Access to the path is denied.” while trying to upload files to my Windows Server 2008 R2 Web server

前端 未结 9 795
失恋的感觉
失恋的感觉 2020-11-28 04:51

I have an asp.net webapplication that uploads files to a specific folder on the Web server. locally everything works fine, but when I deploy the application to the Webserver

相关标签:
9条回答
  • 2020-11-28 05:43

    the problem might be that networkservice has no read rights

    salution:

    rightclick your upload folder -> poperty's -> security ->Edit -> add -> type :NETWORK SERVICE -> check box full control allow-> press ok or apply

    0 讨论(0)
  • 2020-11-28 05:44

    Right click on your folder on your server or local machine and give full permissions to

    IIS_IUSRS

    that's it.

    0 讨论(0)
  • 2020-11-28 05:46

    Have you looked under Advanced Security Settings?

    something like below image change permissions of folder to IIS_IUSRS

    0 讨论(0)
提交回复
热议问题