solving sql server problems for millions of dbas and developers since 2006



SQL Server DBA Tips SQL Server Developer Tips SQL Server Business Intelligence Tips SQL Server Career Tips SQL Server Tip Categories SQL Server Tutorials SQL Server Webcasts SQL Server Whitepapers SQL Server Tools SQL Server Questions and Answers MSSQLTips Authors About MSSQLTips SQL Server User Groups MSSLQTips Giveaways MSSQLTips Advertising Options

MSSQLTips Facebook Page MSSQLTips LinkedIn Page MSSQLTips RSS Feed MSSQLTips Twitter Page MSSQLTips Google+ Page








Logging Options for Reporting Services 2005

By: | Read Comments | Print

Edgewood Solutions is a technology company focused on Microsoft SQL Server and founder of MSSQLTips.com.

Related Tips: More

Problem
Reporting Services is one way of providing important business information to those who need it most. But there are certain questions to ask yourself when utilizing Reporting Services as a delivery mechanism:

  • Who is accessing what reports?
  • How often are reports being accessed?
  • How many reports are being executed at any given time?

Knowing the answers to these questions can help you further restrict access, plan for additional hardware resources as the server's utilization increases, and troubleshoot failed connections and delivery issues. Reporting Services has a number of logging options to assist you in finding the answers to these questions.

Solution
The first and most obvious choice is Event Viewer's Application log. This logging requires no configuration and gives you clues to why the service as a whole may have failed. As you well know there are many entries made in the Application Log, but Reporting Services has its own set of sources you can use to filter the service as shown below:

List of sources provided by Reporting Services in the Application Log

In addition to Event Viewer, Reporting Services also offers numerous logs to cover the finer aspects of operations. To use tracing and logging in Reporting Services 2005 you should first consider to what level you want to log and audit the service. Depending on what you decide, you may have to change a couple of parameters in configuration files. All configuration files for Reporting Services are located in the following folder: [drive_letter]:\Program Files\Microsoft SQL Server\[instance] \Reporting Services\ folder. For Report Manager you have to change the DefaultTraceSwitch to the appropriate level you wish. Once you open the file, the switch is located in the [systems.diagnostics] node and can be set to one of these settings: Error (1), Warning (2), Info (3), and Verbose (4). The default setting is "3". The other parameter to be changed is in the other web.config file located in the ReportServer subfolder. It too, is located in the systems.diagnostics node and has the same levels and default setting:

DefaultTraceSwtich location in web.config files

In addition to setting the logging level in the web.config files, you must also set the Report Execution settings to the level you wish, although there isn't much to it. Open the Report Server main page and click Site Settings in the top right section. On the Site Settings page toward the bottom is a section where you can specify whether you want to log report execution and how long you wish to keep the records. By default this feature is enabled with the log cleaning out records older than 60 days (this cleaning task is performed at 2:00AM everyday):

Site Settings page for Reporting Services

The execution log contains a plethora of information about the report that was executed, including the name of the report server, the user that requested it, and the size of the report, to name a few.

Next Steps

  • When deploying a Reporting Services solution, consider what level of logging you will want and need to monitor report access and other issues related to performance
  • Take a look at the various logs created by the Report Server to find out what valuable information is in them
  • Read about Reporting Services Trace Logs in Books Online or on MSDN
  • Look to MSSQLTIPS for more tips on Reporting Services


Related Tips: More | Become a paid author


Last Update: 11/22/2006

Share: Share 






Comments and Feedback:


Post a Comment or Question

Keep it clean and stay on the subject or we may delete your comment.
Your email address is not published. Required fields are marked with an asterisk (*)

*Name   *Email   Notify for updates
Comments
*Enter Code refresh code


 
Sponsor Information
"SQL doctor is the best SQL product on the market, by far. All of Idera's tools are great, but this is the icing on the cake!"

It takes just 5 minutes to connect your SQL Databases to source control. Got 5 minutes? Get started now.

Need SQL Server help and not sure where to turn? Reach out to expert consultants for a Health Check.

Free Trial: Get Proactive Insight with SpotlightŪ for SQL Server Enterprise.

Solving SQL Server problems for millions of DBAs and Devs since 2006. Join now.

Valuable SQL Server web casts on Performance Tuning, Development, Administration, SSIS and more...


Copyright (c) 2006-2012 Edgewood Solutions, LLC All rights reserved
privacy | disclaimer | copyright | advertise | about
authors | contribute | feedback | giveaways | user groups
Some names and products listed are the registered trademarks of their respective owners.


Edgewood Solutions LLC | MSSharePointTips.com | MSSQLTips.com