CS0016: failed to write the output file c: \ Windows \ Microsoft. NET \ Framework64 \ v4.0.30319 \ Temporary ASP. NET Files \ dll "--" Access denied. ",
An error occurred when browsing a website in IIS:
Compiler error message:CS0016: failed to write the output file "c: \ Windows \ Microsoft. NET \ Framework64 \ v4.0.30319 \ Temporary ASP. NET Files \ root \ 41c262f4 \ 874fe77f \ deny" -- "access is denied. "
Environment Description:
OS: WIN7-64BIT
IIS7
Solution:
Add the IIS_USERS user to windows/temp properties-security-advanced, and set the editing permission to full control (write and edit.
Note: Make sure that the permission is added. The system may be secure under win7 and the permission settings you have made will be automatically canceled. First, the Administrator obtains the ownership and then adds it.
Directory:
1. D: \ SVN_TF02
2. C: \ Windows \ Microsoft. NET \ Framework64 \ v4.0.30319 \ Temporary ASP. NET Files
3. C: \ Windows \ temp
Property-security-advanced AdditionIIS AppPool \ SESMProductUser, in which the user name must be replaced with the application pool name.
Solved: