我的Windows 7上有我的IIS 7.0的奇怪和無法解決的問題。
我盡我的本地測試服務器上運行的網站,並獲得以下錯誤:IIS 7:身份'IIS APPPOOL DefaultAppPool'沒有足夠的權限來訪問臨時目錄
Access to the temp directory is denied.
Identity 'IIS APPPOOL\DefaultAppPool' under
which XmlSerializer is running does not have sufficient permission
to access the temp directory.
CodeDom will use the user account the process is using to do the compilation,
so if the user doesn't have access to system temp directory,
you will not be able to compile.
Use Path.GetTempPath() API to find out the temp directory location.
我有幾個游泳池,但其中只有一個工作正常。它是Classic .NET AppPool。在其他人的網站上運行我得到錯誤,這是前面提供的。最令人興奮的是我無法通過IIS管理器的應用程序池找到池之間的任何配置差異。也許我錯過了什麼?
我試圖更改Windows\Temp
,C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files
和local settings' temporary folder
的訪問權限,但我的操作沒有效果。
因此,希望您的幫助和一些建議。