IIS 上发布网站后编译器错误信息: CS0016: 解决办法

本文转载http://blog.csdn.net/xushen8314/article/details/2115513

 

环境为Windows Server 2003 IIS6.0系统。

 

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/v2.0.50727/Temporary ASP.NET Files/test/cd3dbe0d/3a3b8c58/App_Web_default.aspx.cdcab7d2.yorq4zph.dll' -- '拒绝访问。 '

Source Error:

[No relevant source lines]


Source File:    Line: 0

 

 

解决方法:
       在C:/WINDOWS/temp文件夹上面加上IIS_WPG 控制权限(修改、写入)。

你可能感兴趣的:(IIS)