我的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
的访问权限,但我的操作没有效果。
因此,希望您的帮助和一些建议。