Login or Sign Up to become a member!
LessThanDot Sit Logo

LessThanDot

Data Management

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.

LTD Social Sitings

Lessthandot twitter Lessthandot Linkedin Lessthandot friendfeed Lessthandot facebook Lessthandot rss

Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.

Your profile

    Search

    XML Feeds

    Google Ads

    « Using Database Snapshot As A Protection Against Rogue DeletesBackup file contents with SSIS – INSERT/UPDATE Decisions »
    comments

    SQL Server 2008 R2


    Welcome to SQL Server Reporting Services week at SQL University. This is a great blog project put together by Jorge Segarra (Twitter | Blog), and contributed to by many SQL professionals. If you aren't a student yet, head over to the website and get started!

    This semester, Professor Jes will be guiding you through Reporting Services administration. Let's get started!

    SQL Server Reporting Services Configuration Files

    When you install SQL Server Reporting Services, you will be able to access the most important and most common settings through the Configuration Manager.


    All of these settings, and many more, are stored in a series of XML configuration files. Understanding what is in these files can help you understand the SSRS architecture better, troubleshoot problems more in-depth, and customize your installations.

    Let’s take a look at what these files are.

    Where ARE They?

    I see this question posted on forums a lot: where are the configuration files hiding? The default path to these files is C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services. There are several folders here, and different config files are in each.

    RSReportServer

    Located in the ReportServer folder, this is the meat-and-potatoes of the SSRS files. The settings here are used by Report Manager, the Report Server web service, and background processes.

    Some of the settings you’ll find here include:

    • Logon credentials
    • Timeout information
    • Authentication methods
    • Email configuration
    • Report rendering and delivery extensions

    My next SQL University post will go more in-depth on the settings on this file.

    ReportingServicesService

    This file is located in the ReportServer\bin folder.

    Reporting Services has log files, separate from the SQL Server error log files. These are stored at C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles. In this config file, you can edit settings related to these.

    Some of the settings you’ll find here include:
    • What level of logging you want on your log files.
    • The name of your log files.
    • The maximum size of log files.
    • How log to retain log files.

    This is a great place to show an example of how to modify the config files. Let’s use FileName. By default, it’s ReportServerService_.

    My log file folder looks like this:

    I change the name, save the file, and start the SSRS service:

    And my log files are now named differently:

    RSSrvPolicy , RSMgrPolicy , and RSPreviewPolicy

    These three configuration files store security settings for various components. It isn’t recommended that you edit these files, but it’s helpful to know what they correspond to.

    RSSrvPolicy - Report Server. Located at C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer
    RSMgrPolicy - Report Manager.Located at C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager
    RSPreviewPolicy - Report Designer. Note that this is in a different location, as Report Designer is part of Visual Studio (Business Intelligence Development Studio). C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies

    RSReportDesigner

    This file holds settings for rendering formats and data extensions in the Report Designer. Because it relates to Report Designer, it too is located at C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies . Microsoft recommends you only modify this file if adding custom extensions.

    A Word of Caution

    As with any changes to a system, make sure you back up your files before making changes. Also, be aware that some settings can only be changed from the Configuration Manager, and some are internal and can’t be changed at all.

    My next post will explore ReportingServicesService, giving you information to make your SSRS installations more customized and powerful.

    About the Author

    User bio imageJes Schultz Borland is a Consultant with Brent Ozar Unlimited, and a Microsoft SQL Server MVP. She holds an AAS - Programmer/Analyst degree, is a Microsoft Certified Professional in SQL Server 2012, and has worked with SQL Server as a developer, report writer, DBA, and consultant. Her favorite topics are administration, automation, and SSRS. She is an active member of PASS, President of FoxPASS, founder of Tech on Tap, and a LessThanDot.com blogger. She frequently presents at user groups, SQL Saturdays, and other community events. She is also an avid runner and chef.
    Social SitingsTwitterLinkedInLTD RSS Feed
    InstapaperVote on HN

    7 comments

    Comment from: john barry [Visitor] Email
    john barry Hi Jes.

    I have the default setting "KeepFilesForDays"value="14",
    but I have logfiles going back to October 2010. This is probably when I created this SSRS instance.

    How do I get it to delete files older than 14 days?

    Thanks.

    John
    02/07/11 @ 12:40
    Comment from: Jes Schultz Borland (grrlgeek) [Member]
    Jes Schultz Borland (grrlgeek) John, since you edited the configuration file, did you restart the SSRS service?
    02/10/11 @ 11:43
    Comment from: Tahir [Visitor]
    Tahir Hi Jes,
    Thanks for the post. I have a question may be not relevant to this post but is relevant to SSRS.
    I have installed sql server 2008 R2 developer edition on my laptop with windows 7. I am the only administrator of my computer , now whenever I open report manager and click report server url it gives me a message that you don't have permission to proceed. What in your opinion is causing this. Report Server is up and running.

    Thanks and take care.

    Tahir Gul
    02/21/11 @ 06:52
    Comment from: Jes Schultz Borland (grrlgeek) [Member]
    Jes Schultz Borland (grrlgeek) Tahir
    There is some extra configuration required on a Windows 7 machine. Check out this excellent post from the Datachix: http://datachix.com/category/ssrs/. If you still experience problems, I'd suggest posting the information about your installation and the error message in our Data Management forum. http://forum.lessthandot.com/viewforum.php?f=14&sid=22200e6fff099b7f46b0da25229ed8f1
    02/22/11 @ 14:08
    Comment from: Tahir Gul [Visitor]
    Tahir Gul Thank you Jes, It solved my problem.
    12/24/11 @ 11:16
    Comment from: Dinesh vishe [Visitor] Email · http://google.com
    Dinesh vishe What should setting for outside mail from one domain to another ??
    Please let me know solution..
    02/08/13 @ 11:30
    Comment from: Jes Schultz Borland (grrlgeek) [Member]
    Jes Schultz Borland (grrlgeek) @Dinesh - that's outside the scope of this blog. You can post the question to our Data Management forum: http://forum.lessthandot.com/viewforum.php?f=14.
    02/11/13 @ 17:39

    Leave a comment


    Your email address will not be revealed on this site.

    To mislead the spambots.

    Your URL will be displayed.
    (Line breaks become <br />)
    (Name, email & website)
    (Allow users to contact you through a message form (your email will not be revealed.)