Compiler error message: cs0016: failed to write the output file "C: \ WINDOWS \ Microsoft. NET \ framework \ v2.0.50727 \ temporary ASP. NET files \

Source: Internet
Author: User
After installing framework 3.0
You cannot access a directory under c: \ windows \ Microsoft. NET \ framework \ v1.1.4322 \ temporary ASP. NET files. There are many causes of these errors, including the change of the bin directory or web. config and insufficient permission to access the file system.

Solution:

1. Disable or set the Indexing Service
2. Check the access permission of the bin directory.
3. Set the access permission for the temporary ASP. NET Files directory
4. Set WINDOWS \ Temp Permissions

Add full control permission to NETWORK SERVICE

P.s. when vs is installed on my machine. net2003 and. set temporary ASP. the net files directory and the Windows \ Temp Access Users are ASPnet and Network Service, and the permission is full control.

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.