【.net部署】Server Error in '/' Application.錯誤解決方案


報錯:

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.NET Files\root\5bde24d4\5d1cce95\App_global.asax.ndttus9h.dll' -- '拒絕訪問。 '

Source Error:

 

[No relevant source lines]

Source File: Line: 0

 

Show Detailed Compiler Output:

 

iis對"C:\Windows\Temp"文件夾不具備權限導致

給上訴文件夾加上 IIS_IUSRS的權限

QQ:847749636


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM