Asp.net

ASPNET 使用者沒有對 ASP.NET 臨時文件的寫入權限

  • January 12, 2021

在我的 XP Professional 機器上執行我的 Visual Studio 2008 ASP.NET 項目(在沒有調試的情況下啟動)時出現以下錯誤:

System.Web.HttpException: The current identity (machinename\ASPNET) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.

我該如何解決這個問題?

您是否嘗試過框架文件夾中的 aspnet_regiis exe?

我有同樣的問題。這就是我所做的:

  1. 轉到 c:\windows\microsoft.net\framework\v2.0.50727
  2. 右鍵點擊“臨時 ASP.NET 文件”
  3. 安全選項卡
  4. 從組中選擇“使用者(xxxxxx\Users)
  5. 勾選“寫”
  6. 好的

引用自:https://stackoverflow.com/questions/85941