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

    « Presenting at the February WI SSUG MeetingUsing Database Snapshot As A Protection Against Rogue Deletes »
    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 in classes!

    SQL Server Reporting Services Configuration Files

    If you’ve ever set up or troubleshot a SQL Server Reporting Services installation, you have probably used the Configuration Manager. This is a nice graphical tool provided with SSRS to set things like the service account, the URLs, and more. All of this information, and much more, is stored in a series of XML configuration files.

    The main file is RSReportServer.config. We’ll explore the options you can set in this post.

    The first thing you need to do? Find the files (and I see a lot of forum questions about where these are located). The RSReportServer.config file default location is C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer.

    The second thing you need to do? Back up the files before making any changes.

    Once you find the file and open it in a text editor (remember, it's just an XML document), this is what you'll see.

    Let’s break it down!

    General Configuration Settings

    The first section is general settings. Here are a few to pay attention to.

    DSN: This is the connection string to the ReportServer database. It’s encrypted.
    MaxActiveReqForOneUser: The number of reports one user can process at one time. The default is 20. It’s hard to believe a user could run that many concurrent reports, but it is possible.
    DatabaseQueryTimeout: This determines how long it takes a connection to time out. This is in seconds, and the default is 120.
    DisplayErrorLink: If the report errors out, do you want to link to the Microsoft help site?
    WebServiceUseFileShareStorage: This determines if cached reports and snapshots are stored in the ReportServerTempDB database (false, and the default), or on the file system.

    URL Reservations

    This section defines the URLs for your report server instance. However, you don’t want to edit the settings here. You want to go into the Configuration Manager and change them. These settings are on the Web Service URL and Report Manager URL screens.

    Authentication

    This is a very flexible and very powerful section. The default authentication type for SSRS is NTLM. However, SSRS allows many different types – RSWindowsNegotiate, RSWindowsKerberos, RSWindowsNTLM, RSWindowsBasic, and Custom. Unless you edit this manually, you will only see the default values.

    Service

    Settings here control the Report Server service.

    IsSchedulingService: Using Policy-Based Management (in SQL Server 2008), you can choose to turn on or off SQL Server Agent for maintaining the schedules and subscriptions.
    IsNotificationServer: Again, using Policy-Based Management, you can choose whether or not the service will deliver subscriptions.
    MemorySafetyMargin and MemoryThreshold: SSRS has low, medium and high pressure settings on memory. These affect how requests are accepted and processed. These settings are in percentages. You can read about Configuring Available Memory for Report Server Applications on MSDN. Jeff Rush (Blog | Twitter) wrote a great post on Memory Pressure Zones.
    UnattendedExecutionAccount: Configured using the Configuration Manager, this is the username, password and domain used to execute reports.

    Extensions

    SSRS allows you to add custom extensions, and modify the existing ones. This large section allows you to specify settings for everything from report delivery to data sources.

    Delivery: Information used when sending reports out via subscription. Subscriptions can be email, file share, a document library (in SharePoint integrated mode), or preloading a cache. There are separate settings here for each type.

    Report Server Fileshare: Settings here include the number of retries attempted, seconds between attempts, and excluded rendering formats.

    Report Server Email: Settings here include the number of retries attempted, seconds between attempts, and SMTP information.

    Report Server Document Library: These are settings related to SharePoint integrated mode. Like fileshare, settings here include the number of retries attempted, seconds between attempts, and excluded rendering formats.

    NULL: This provider is used to preload a cache for reports. There are no options you can set here. (Why is it included? I have no idea.)

    Delivery UI: This is what appears when setting up a subscription manually.

    Render: The list of rendering extensions available. Only modify this section if you’re adding a custom extension.

    Data: Data processing extensions tell you what types of data sources you can connect to. You can create custom extensions and add them here.

    Semantic Query: This is an internal section for report models. Don’t touch!

    Model Generation: This is also an internal section for report models. Don’t touch!

    Security: Determines what type of authorization is used by the report server. The default is Windows, and shouldn’t be modified.

    Authentication: Determines what type of authorization is used by Reporting Services. The default is Windows, and shouldn’t be modified unless you’re implementing a custom extension.

    Event Processing: An internal-only section for event handlers. Don’t touch!

    MapTileServerConfiguration

    These settings are used when your reports tie into the Microsoft Bing Maps web services.

    Conclusion

    Reporting Services is very feature-rich, and allows you to do customization. Familiarity with the configuration files will give you a better understanding of what is available, how it works, and how to resolve problems that may occur.

    Please take a minute to fill out the SQL University Course Evaluation for this week's classes. Thanks!

    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

    5 comments

    Comment from: Naomi Nosonovsky [Member]
    Naomi Nosonovsky Interesting, thanks for the post and thanks for referring to SQL University. Looks like a very good way to increase my knowledge.

    I'm going to read these blogs.
    02/03/11 @ 19:08
    Comment from: Jes Schultz Borland (grrlgeek) [Member]
    Jes Schultz Borland (grrlgeek) Naomi, I think it's a great resource and you'll learn a lot! Enjoy SQL U.
    02/03/11 @ 19:36
    Comment from: kolept [Visitor]
    kolept I have a question on the data processing extension.I have created a data processing extension to pull two different oracle datasource and merged into a dataset and return.I would like to know that do data processing extension share the
    WebServiceUseFileShareStorage feature? Or I need to add code in my data processing extension to call report processor to cached reports and snapshots into the tempdb?
    03/29/12 @ 07:55
    Comment from: Jes Schultz Borland (grrlgeek) [Member]
    Jes Schultz Borland (grrlgeek) @kolept - I'm unable to help with a data processing extension question. Perhaps this will help? http://www.codeproject.com/Articles/22946/Implementing-a-Data-Processing-Extension
    03/30/12 @ 12:40
    Comment from: Rashid Khan [Visitor] Email · http://www.linkedin.com/in/khanrashid
    Rashid Khan Excellent article... thank you.... Rashid Khan
    01/03/13 @ 12:43

    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.)