2012-06-27 75 views
2

我想在本地訪問報告服務2005年報表管理器在Windows Server 2003服務器上,我發現了以下錯誤:報表管理器 - 訪問臨時目錄被拒絕

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.

域\錯誤信息中給出的登錄名是我的用戶登錄帳戶。默認網站中的Reports虛擬目錄配置爲使用配置爲以Network Service身份運行的DefaultAppPool。 SQL Server Reporting Services Windows服務被配置爲使用單獨的域服務帳戶。

+0

[偶爾「拒絕訪問」到'C:\ WINDOWS \ TEMP \'文件](http://stackoverflow.com/questions/3131529/occasional-access-denied-to-c-windows-temp - 文件) –

回答

3

授予NETWORK SERVICE帳戶讀取/寫入/修改對C:\WINDOWS\Temp目錄的訪問權限。

+0

它沒有爲我工作。我正在嘗試爲SSRS2008設置服務帳戶。內置帳戶=網絡服務。我如何解決它 ?錯誤消息 - System.UnauthorizedAccessException:訪問路徑'C:\ Program Files \ Microsoft SQL Server \ MSRS10_50.SS2008 \ Reporting Services'被拒絕............ etc – Steam