Reasons why Asp.net cannot write output files
Compiler error message:
Bc31019: the output file "C: \ WINDOWS \ Microsoft. NET \ framework \ v2.0.50727 \ temporary ASP. NET files \ WEB \ 1336fe54 \ 9e0f926e \ refused" cannot be written.
Cs0016: failed to write the output file "C: \ WINDOWS \ Microsoft. NET \ framework \ v2.0.50727 \ temporary ASP. NET files \ book \ 44f31b6 \ b854ea09 \ app_code.hig0e2qv.dll" -- "Access denied. "
The reason why Asp.net cannot write the output file is finally found the solution:
In this case, it is generally anti-virus, firewall, and other security issues.ProgramDelete the temp user network service in the Temporary Folder under the Windows directory. so that the temporary directory permissions are insufficient. The solution is to add the network service user to the temp Security tab of the Temporary Folder under the Windows directory and grant all permissions.