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

    « Error: The GetBytes function can only be used on columns of type Text, NText, or ImageTransaction Log expanding on restore after shrink »
    comments

    I've been approached on the web, in the SQL Community and in person several times with the question: "My Reporting Services instance loads Report Manager extremely slow. Why?"

    There are a few common primary causes of this. One is the instance being located on a DMZ and behind policies that cause the slow load times. I’m not a network guru and haven’t played in that field for 7-8 years so I can't give you a lot of ideas to fix it. I can say, check it if you are on that landscape and getting the slow load times.

    The other cause comes down to locally installed firewalls and virus scan programs on the server (or machine you have SSRS installed on) blocking some or all access for Reporting Services, certain ports and ASP.NET. Firewalls are the devil from the inside out. I hate to say it, being the security crazed DBA I am but they do cause some headaches when working with features like Reporting Services that look to Internet Explorer for assistance in loading.

    I was fortunate enough to purchase a new laptop recently and installed my usual Developer Edition landscape. This included Reporting Services 2008. This gave me a chance to write this and recreate the exact situation many of you may fall into.

    So let’s fix it together

    On my new Dell XPS I have McAfee Security installed. It came with the laptop and isn’t all that bad. Does the job! But, when I open my Report Manager session, it takes around 5 minutes to load. Wow! I’m not a patient DBA. I like measuring things in nanoseconds. It is the foundation of why I purchase hardware at work that is way overboard and scalable. So my first inclination is to turn to the Windows Firewall. I know a lot of people may disagree with me, but I turn it off. It is good and I understand the concept behind it, but in our world, it can cause more problems than it's worth. I’m behind my Cisco firewall and the McAfee firewall. I think I’m ok for now until a script kiddy reads this ;-)

    I opened the McAfee Security Center and navigated to the location I assume will be causing the problem -- the firewall configuration. In this configuration I see that the Firewall protection is enabled and the option for configuring it is there. Upon opening this configuration I am presented with a listing of programs/files that have particular "access" settings.

    In this listing I quickly notice that my SQL Server Analysis Service instance is blocked. Fixed that!


    After searching the listing farther down, I find the settings for Reporting Services (and Report Builder). The access is set to Outbound-Only Access. This should be Full Access for the instance to function completely. It is important to note that this would not stop functionality of Reporting Services out of the box typically. You can run and develop SSRS on an island successfully.



    You can see there is an option to, “Allow Access” in the Action window. I selected this and rebooted the laptop to clear all cache and load of the Report Manager. I did this because the initial load is commonly the only slow period when ASP.NET starts.



    The largest problem is the firewall not allowing the action to be performed entirely.

    I also found that port 1433 was being heavily scanned along with port 80. Next I found the "real-time" scanning settings and had to set the required files and services to Trusted. I basically found a few odds and ends just short of completely turning it off. I’m not recommending that of course. I’m recommending finding the setting your exact situation requires. All virus and firewalls are different and it isn’t feasible to cover them all here.

    Again, another reboot is required to determine if the settings fixed my problem

    Conclusion

    My firewall configurations fixed the local Report Manager initial loading time problem and allowed ASP.NET and SSRS to do what it needed to without slowing the process. At the same time I found my entire SSAS instance was completely blocked. So if you find yourself with Report Manager loading in about 5 minutes (give or take an hour), try disabling the local firewall and see if it resolves the problem down to normal initial load times. Then enable it and dig into the configuration settings to allow Reporting Service and ASP.NET to function correctly. Normal load times are around 30-45 seconds after a complete restart from this lab. In other resource intense servers that will be quicker. If it goes much over that, I would start looking into the problem.

    Last, I highly recommend always digging into BOL before going crazy and breaking your servers. There is a page dedicated to short descriptions on possible performance issues. Primarily surrounding, slow performance.
    http://technet.microsoft.com/en-us/library/ms345220.aspx

    About the Author

    Ted Krueger is a SQL Server MVP and has been working in development and database administration for 13+ years. Specialties range from High Availability and Disaster / Recovery setup and testing methods down to custom assembly development for SQL Server Reporting Services. Ted blogs and is also one of the founders of LessThanDot.com technology community. Some of the articles focused on are Backup / Recovery, Security, SSIS and working on SQL Server and using all of the SQL Server features available to create stable and scalable database services. @onpnt
    Social SitingsTwitterLinkedInLTD RSS Feed
    4374 views
    Instapaper

    1 comment

    Comment from: Sivananda Mandapati [Visitor]
    Sivananda Mandapati Perfect solution.
    Before Unblock : 3 min (loading time)
    After Unblock : .01 sec ( Loading time)

    Thanks alot.
    02/15/12 @ 08:52

    Leave a comment


    Your email address will not be revealed on this site.

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