ASP.NET cannnot access to windows temp folder?

后端 未结 2 1042
灰色年华
灰色年华 2021-01-04 18:38

whenever I want to run my application from localhost it generates the following wierd error

Server Error in \'/\' Application.
------------------------------         


        
2条回答
  •  失恋的感觉
    2021-01-04 19:18

    for those who cant give FULL CONTROL to c:\windows\temp like me

    [this is how i solved]
    1- run cmd AS admin (keep it open ).
    2- open task manager and KİLL explorer.exe.
    3- goto previously opened cmd. write explorer.exe hit enter.
    4- go to c:\windows temp (right click)>properties ->security
    5- now you will be able to change \IIS_IUSRS to Full Control

    note: some application may give error about elevated exploer.exe . it will be fixed after restart.

    if you dont wanna restart;
    [take explorer.exe out of Administrator mode]
    1- goto previosly opened task manager. kill explorer.exe
    2- in task manager file-> start new process write there explorer.exe
    3- now the explorer.exe is in normal mode.

    https://serverfault.com/questions/694184/cannot-provide-permission-to-iis-iusrs-on-c-windows-temp/731681#731681

提交回复
热议问题