IIS出現Server Error in '/' Application.CS0016的解決辦法

來源:互聯網
上載者:User

標籤:request   ase   strong   OWIN   sage   div   title   desc   完全   

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\21a2b314\31512cd\App_Web_login.aspx.cdcab7d2.mfr3xa-z.dll‘ -- ‘拒絕訪問。 ‘

Source Error

 在網上找了好多的資料,整理出來,有以下5種: 1、 Cleaned the "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files" folder刪除上述檔案夾中的臨時檔案,再重啟IIS。這也是一種辦法,但沒有能解決我機子的問題; 2、Gave Full permissions to IIS_IUSRS group 給實體路徑的檔案夾賦予IIS_IUSER的完全許可權。這個辦法,嘗試了還是沒有解決; 3、Gave Full permissions to "Everyone"再賦予EVERYONE的完全許可權,結果還是沒用; 4、Ran the following command too: %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis -i在運行裡重新註冊一下NET4.0,直接把路徑拖到運行視窗,按空格後輸入-i,斷行符號執行。一般問題到這裡也就解決了,可我這問題依舊存在,鬱悶! 5、C:\Windows\Temp"檔案夾加上 IIS_IUSRS的許可權給TEMP檔案夾加上IIS_IUSER後問題居然解決了

IIS出現Server Error in '/' Application.CS0016的解決辦法

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.