Search this blog

Wednesday, February 8, 2012

Architecture Changes Between SSRS 2005 Vs. 2008

There are major changes between SSRS architecture 2005 and 2008. Have a look at the following exhibit first then go thru changes listed below: -

SQL Server Architecture 2005:-

SQL Server Architecture 2008:-
New Changes in SSRS 2008:-
1. Initially, all the SSRS related applications, services and utilities were running as an individual segment. In 2008, these components are merged as single windows service segment. It makes our jobs simple, easy to manage, deploy, configure the SSRS Objects

2. Report server no longer dependent on IIS. Instead, http.sys is used to handling authentication.  Http.Sys is called as HTTP Server API. In general word, HTTP.sys is just a driver, which allow us to communicate the clients (browser) with Report Server without Microsoft Internet Information Server(IIS). Also SSRS 2008 has all IIS components which require functioning without having any dependency with IIS.
 
3.Moving away from IIS, two major actions to be taken care by SSRS components:
 
 a.    Disabling some of the functionalities IIS handles which there are no equivalent in SSRS 2008, such as anonymous, client certificate and ISAPI.
 
 b. Enabling some of the functionalities that IIS used to handle for SSRS before. Things such as ability to add virtual directory, port, SSL certificate, logging mechanism and so on…
 
4. Report Server uses shared components from SQL Server, such as SQL CLR for ASP.NET management, network interfaces, and memory management capabilities. This implies that any advances in administration and logging in SQL Server can be leveraged in SSRS in future releases.
 
5. CLR Host – All the SSRS components are running under the control of CLR. So CLR is act as host.
 
6. the Report Manager application and the Report Server web service have been combined into a single Windows service
 

Tuesday, February 7, 2012

Store Query as Template Or Control in SSMS ToolBox

Hope many people are aware of this feature, but I came to know about it on today while watching one of the SQL Server webcast. I just want to share the same in this blog. it will be helpful to new comers.
I used to store the query in a script file for future/reference/reusable purpose, Instead of keeping as separate file, you can store the Query in SSMS Toolbox window, which will act as a Template or control.
Following steps will help you to store a Query in Toolbox:-
1.       Open SQL Server Management Studio, connect to Database server
2.       Check whether Toolbox window is opened or not, if it is not opened then go to View Menu, select Toolbox Menu,  or else open the menu using shortcut keyword (Ctrl + Alt + X)
3.       If you see any control on toolbox, then you can skip the steps 4,5 and 6
4.       When I opened the Toolbox window, it is Empty container as shown below

5.       Right Click on Toolbox, select “Show All” Options

6.       Toolbox is appeared with list of SSIS and DB Maintenance controls as shown below

7.       Open Query Window; write Some Query/Query Template whichever you want to store it. Select the Query, Drag and drop on Toolbox, Or… else copy the query, Right click and paste on the Toolbox.
Look at the following screen, I have a written a Query on Query window, then dropped the same at Toolbox as well.

8.       You can categorize the collection Queries by using Creating Tab in the toolbox. Right Click on the toolbox, select “Add Tab”, Enter the Group Name of the Queries.

9.       To reuse the Query, right click on the Query, select copy; paste the same on Query window for use.

Note: In Toolbox, if the saved Query is Enabled Mode, then you can drag the Query Template and drop into query window like placing control on designer. By default it is disabled mode. So you need to follow as step 9 to use.