Export (0) Print
Expand All

ReportingServicesService Configuration File


Applies To: SQL Server 2016

The ReportingServicesService.exe.config file includes settings that configure tracing.

This file is located in the \Reporting Services\Report Server\Bin folder.

You can modify this file to rename the log file or to increase or decrease trace levels. Do not modify any of the other settings. For instructions, see Modify a Reporting Services Configuration File (RSreportserver.config). For more information about trace logs, see Report Server Service Trace Log.

The following example shows the settings and default values found in the ReportingServicesService.exe.config file.

      <section name="RStrace" type="Microsoft.ReportingServices.Diagnostics.RSTraceSectionHandler,Microsoft.ReportingServices.Diagnostics" />  
          <add name="DefaultTraceSwitch" value="3" />  
      <add name="FileName" value="ReportServerService_" />  
      <add name="FileSizeLimitMb" value="32" />  
      <add name="KeepFilesForDays" value="14" />  
      <add name="Prefix" value="tid, time" />  
      <add name="TraceListeners" value="debugwindow, file" />  
      <add name="TraceFileMode" value="unique" />  
      <add name="Components" value="all" />  
      <alwaysFlowImpersonationPolicy enabled="true"/>  
      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">  
                    <assemblyIdentity name="Microsoft.ReportingServices.Interfaces"  
                        culture="neutral" />  
                    <bindingRedirect oldVersion=""  
                    <bindingRedirect oldVersion=""  
      <gcServer enabled="true" />  

The following table provides information about specific settings. Settings are presented in the order in which they appear in the configuration file.

RStraceSpecifies namespaces used for errors and tracing.
DefaultTraceSwitchSpecifies the level of information that is reported to the ReportServerService trace log. Each level includes the information reported by all lower-numbered levels. Disabling tracing is not recommended. Valid values include:

0= Disables tracing

1= Exceptions and restarts

2= Exceptions, restarts, warnings

3= Exceptions, restarts, warnings, status messages (default)

4= Verbose mode
FileNameSpecifies the first portion of the log file name. The value specified by Prefix completes the rest of the name. By default, the name is ReportServerService_.
FileSizeLimitMbSpecifies an upper limit on trace log size. The file is measured in megabytes. Valid values are 0 to a maximum integer. The default value is 32.
KeepFilesForDaysSpecifies the number of days after which a trace log file will be deleted. Valid values are 0 to a maximum integer. The default value is 14.
PrefixSpecifies a generated value that distinguishes one log instance from another. By default, timestamp values are appended to trace log file names. This value is set to " tid, time ". Do not modify this setting.
TraceListenersSpecifies a target for outputting trace log content. You can specify multiple targets using a comma to separate each one. Valid values include:

DebugWindow (default)

File (default)

TraceFileModeSpecifies whether trace logs contain data for a 24-hour period. You should have one unique trace log for each component on each day. This value is set to "Unique (default)". Do not modify this value.
ComponentsSpecifies the components for which trace logs are created. The default value is all. Other valid values for this setting include the names of internal components. Do not modify this value.
RuntimeSpecifies configuration settings that support backward compatibility with the previous version. Runtime settings are used to redirect requests that target the previous version of Microsoft.ReportingServices.Interfaces to the new version.

All of the configuration settings in this section are described in the .NET Framework product documentation. For more information, search for "Runtime Schema Settings" on the MSDN Web site or in the .NET Framework documentation.

Reporting Services Configuration Files
Report Server Service Trace Log

Community Additions

© 2016 Microsoft