Compiler error message when you run an asp: CS0016: Failed to write to output file "C:\WINDOWS\Microsoft.NET\Fra

Source: Internet
Author: User

Compiler error message when you run an 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. ”

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

Reference compiler error message when running asp: CS0016: Failed to write output file "C:\WINDOWS\Microsoft.NET\Fra

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.