我尝试在 Windows Server 2003 服务器上本地访问 Reporting Services 2005 报表管理器,但收到以下错误:
Access to the temp directory is denied. Identity 'DOMAIN\login' 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 doesnt have access to system temp directory, you will not be able to compile. Use Path.GetTempPath() API to find out the temp directory location.
错误消息中给出的 DOMAIN\login 是我的用户登录帐户。默认网站中的Reports
虚拟目录配置为使用DefaultAppPool,该DefaultAppPool 配置为作为Network Service
身份运行。 SQL Server Reporting Services Windows 服务配置为使用单独的域服务帐户。
最佳答案
授予 NETWORK SERVICE
帐户对 C:\WINDOWS\Temp
目录的读/写/修改访问权限。
关于reporting-services - 报表管理器 - 对临时目录的访问被拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11230673/