cancel
Showing results for 
Search instead for 
Did you mean: 

PowerBI on-prem server RSHostingService cannot find ReportingServicesService.exe.config

PowerBI on-prem server RSHostingService cannot find ReportingServicesService.exe.config with error below, even folder and file permissions are set to be not "Read-only" or "Hidden". So it generates log files every 15 to 20 minutes, with name like "RSHostingService_2021_01_25_00_00_00", and used up the disk spaces.

Log files are in:

E:\Microsoft Power BI Report Server\PBIRS\RSHostingService

ReportingServicesService.exe.config is in:

E:\Microsoft Power BI Report Server\PBIRS\ReportServer\bin

with tracing set as:

<RStrace>
<add name="FileName" value="ReportingServicesService_" />
<add name="FileSizeLimitMb" value="32" />
<add name="KeepFilesForDays" value="14" />
<add name="Prefix" value="appdomain, tid, time" />
<add name="TraceListeners" value="file" />
<add name="TraceFileMode" value="unique" />
<add name="Components" value="all:3" />
</RStrace>

"..\ReportServer\bin\ReportingServicesService.exe.config" is the right path in typical log errors:

2021-01-25 07:06:22.7150|INFO|1|File Logger created: E:\Microsoft Power BI Report Server\PBIRS\RSHostingService\RSHostingService_2021_01_25_07_06_22.log - level Info, will roll at 32 Mb, process id 3572
2021-01-25 07:06:22.7300|INFO|1|Current Directory : E:\Microsoft Power BI Report Server\PBIRS\RSHostingService
2021-01-25 07:06:22.9350|INFO|4|Updating application config files
2021-01-25 07:06:22.9350|INFO|4|Syncing service machine key
2021-01-25 07:06:22.9700|ERROR|4|Cannot locate trace config filename: ..\ReportServer\bin\ReportingServicesService.exe.config
2021-01-25 07:06:22.9850|INFO|4|Launching Process : Management Service
2021-01-25 07:06:22.9850|INFO|4|Starting Process: E:\Microsoft Power BI Report Server\PBIRS\Management\RSManagement.exe
2021-01-25 07:06:24.1820|INFO|11|Fetched ManagementState from Management state = Valid, Encryption key present = True
2021-01-25 07:06:24.2270|ERROR|11|Cannot locate trace config filename: ..\ReportServer\bin\ReportingServicesService.exe.config
2021-01-25 07:06:24.2270|INFO|11|Launching Process : RS Service
2021-01-25 07:06:24.2270|INFO|11|Starting Process: E:\Microsoft Power BI Report Server\PBIRS\ReportServer\bin\ReportingServicesService.exe
2021-01-25 07:06:24.2720|INFO|11|Launching Process : Portal
2021-01-25 07:06:24.2720|INFO|11|Starting Process: E:\Microsoft Power BI Report Server\PBIRS\Portal\RSPortal.exe
2021-01-25 07:06:24.2720|INFO|11|Launching Process : PowerBI
2021-01-25 07:06:24.2720|INFO|11|Starting Process: E:\Microsoft Power BI Report Server\PBIRS\PowerBI\RSPowerBI.exe
2021-01-25 07:06:24.2820|INFO|11|Launching Process : Office
2021-01-25 07:06:24.2820|INFO|11|Starting Process: E:\Microsoft Power BI Report Server\PBIRS\Office\RSOffice.exe
2021-01-25 07:06:24.9970|ERROR|11|Cannot locate trace config filename: ..\ReportServer\bin\ReportingServicesService.exe.config
2021-01-25 07:06:24.9970|INFO|11|Service watchdog: starting
2021-01-25 07:06:25.0170|ERROR|11|Cannot locate trace config filename: ..\ReportServer\bin\ReportingServicesService.exe.config
2021-01-25 07:06:25.0320|ERROR|11|Service watchdog: exceptionSystem.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.BIServer.BIService.BIService.CleanupExpiredLogFiles(RsTraceConfig rsTraceConfig)
at Microsoft.BIServer.BIService.BIService.<ServiceWatchdog>d__26.MoveNext()
2021-01-25 07:06:25.0520|ERROR|11|Cannot locate trace config filename: ..\ReportServer\bin\ReportingServicesService.exe.config
2021-01-25 07:06:25.0520|ERROR|11|Service watchdog: exceptionSystem.NullReferenceException: Object reference not set to an instance of an object.

Status: New
Comments
Community Support

@MichaelXu 

 

You may check if the Service Account has right permission.

New Member

Dear Microsoft,

 

Service user is a member of the local Administrators group, and has full control permission on all folders and files.

 

Thank you.