CS0016: failed to write the output file c: \ Windows \ Microsoft. NET \ Framework64 \ v4.0.30319 \ Temporary ASP. NET Files \ dll "--" Access denied. ",

Source: Internet
Author: User

CS0016: failed to write the output file c: \ Windows \ Microsoft. NET \ Framework64 \ v4.0.30319 \ Temporary ASP. NET Files \ dll "--" Access denied. ",

 

 

 

An error occurred when browsing a website in IIS:

Compiler error message:CS0016: failed to write the output file "c: \ Windows \ Microsoft. NET \ Framework64 \ v4.0.30319 \ Temporary ASP. NET Files \ root \ 41c262f4 \ 874fe77f \ deny" -- "access is denied. "

 

Environment Description:

OS: WIN7-64BIT

IIS7

 

 

 

 

 

Solution:

Add the IIS_USERS user to windows/temp properties-security-advanced, and set the editing permission to full control (write and edit.

Note: Make sure that the permission is added. The system may be secure under win7 and the permission settings you have made will be automatically canceled. First, the Administrator obtains the ownership and then adds it.

 

Directory:

1. D: \ SVN_TF02

2. C: \ Windows \ Microsoft. NET \ Framework64 \ v4.0.30319 \ Temporary ASP. NET Files

3. C: \ Windows \ temp

 

Property-security-advanced AdditionIIS AppPool \ SESMProductUser, in which the user name must be replaced with the application pool name.

 

 

 

 

 

Solved:

 

 

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.