Compiler error message when you run the asp: CS0016: Failed to write to output file "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP. FILES\ASAA \6afc8e18\e1c3edea\app_web_masterpage.master.fdf7a39c.r2drwb6q.dll "--" denied access. ”
Solution: Find the Widow folder under the C-disk-"Temp Click Properties, there is a security option in the attribute (no security option is the following: Open My Computer, select" Tools "-" Folder Options "--" view ", then Cancel" Use Simple File sharing ")
(A simple sentence: What role do you log in to set the role to full control, and then re-click IIS OK, no need to tube other)
Online also has a lot of information such as: first: If the C:/windows directory does not have the Temp folder, then create one;
Then: Right-click the Temp folder--Properties--Secure, add a user "NETWORK SERVICE", (if the. NET Framework 1.0 Adds the user "ASPNET user"), "give permission-Full control;"
Finally: Right-click on "My Computer"-"Properties"-"advanced"-"Environment variables", select "TEMP" Under System variables, click Edit, Set Variable value to%Systemroot%\Temp, OK, and then do the same for "TMP", click OK;
And the reason is that:
The ASP. NET State service is stopped, restart the ASP. NET State Service, and set to Automatic.
Start-in-run input: iisreset;.
This address: http://blog.sina.com.cn/s/blog_5d71453e0100xn03.html