CS0016 under win7 + iis7.5 + asp.net: the output file "c: \ Windows \ Microsoft. NET \ Framework \ v2.0.50727 \ Temporary ASP. NE" cannot be written.

Source: Internet
Author: User

The solution for searching on the Internet is still not solved in my environment. My method is as follows:

Grant full control permissions to the C: \ Windows \ temp folder ,:

Other solutions fail. For example, set c: windows \ temp directory access permission temp --> properties --> Security --> Add network service --> and grant the permission to read and write --> OK

(Note: the operating system is windows server2003 framework 1.1 or later)


2. Set the permission of the bin folder in the program directory of the website to add network service and set the permission to read and run

 

 

 

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.