Workaround for IIS with Server Error in '/' application.cs0016

Source: Internet
Author: User

Server Error in '/' Application.

compilation Error

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:could not write to output file ' c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP. files\root\ 21a2b314\31512cd\app_web_login.aspx.cdcab7d2.mfr3xa-z.dll '--' Deny access. ‘

Source Error

On the internet to find a lot of information, sorting out, there are the following 5 kinds: 1. cleaned the "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP. NET Files" folderDelete the temporary files in the above folder, and then restart IIS. This is also a way, but there is no solution to the problem of my machine; 2, gave full permissions to IIS_IUSRS groupGive Iis_iuser full permissions to the folder for the physical path. This approach, tried or not resolved; 3, gave full permissions to "Everyone"Give everyone the full permission, the result is useless; 4. Ran The following command too:%windir%\microsoft.net\framework64\v4.0.30319\aspnet_regiis-iRe-register the NET4.0 in the run, directly drag the path to the Run window, press the space after the-I, enter the execution. General problem to here also solved, but I this problem still exist, depressed! 5, C:\Windows\Temp "folder plus Iis_iusrs permissionsAdding Iis_iuser to the Temp folder solves the problem.

Workaround for IIS with Server Error in '/' application.cs0016

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.