Compiler error message: cs0016: Solution

Source: Internet
Author: User

 Description:An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler error message:Cs0016: cocould not write to output file 'C: \ windows \ Microsoft. net \ framework \ v2.0.50727 \ temporary ASP. net files \ test \ cd3dbe0d \ 3a3b8c58 \ app_web_default.aspx.cdcab7d2.yorq4zph.dll '--' access is denied. '

Source error:

 

[No relevant source lines]

Source file:Line:0


Solution:
Add iis_wpg control permissions (modify and write) to the C: \ WINDOWS \ Temp folder and restart IIS.
In this way, some pages can be accessed, but many pages still cannot be accessed, and the same error is reported. Therefore, the c: \ windows \ Temp folder is cleared, and the temporary ASP. NET Files folder is also cleared. Restart IIS. OK!

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.