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 952
失恋的感觉
失恋的感觉 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

提交回复
热议问题