Thursday, 24 March 2011

SSRS NEW


1. Difference between Logical Page an Physical Page in SSRS.
2. How to configure SSRS for Disaster recovery.
3. Describe the role of Encrpytion key in Report Server Configuration manager.
4. User want only to display only pdf as export option in report Manager .. Describe Steps to perform this .
5. Name and Describe few console utilities for SSRS.
6. Name few Endpoints exposed by SSRs 2008.
7. How can you access the Code in You report. Describe the Static and intance based method with example.
8. how to add custome Assemblies to Report.
9. What is Linked Report.
10. What are different types of roles provided by SSRS.
11. Describe different Processing Modes offered by SSRS.
12. When to Use Null Data driven Subscription?
13. What Factors need to take into consideration while desigining a international report ( Localaization ).
14. What are different option to deploy report from Dev to Prod.
15. What are the new Controls / Features  added in SSRS 2008 / SSRS 2008 R2
16. How can you monitor the report Usage.
17. How can you add a new report User to report manager.
18. How can you create the dynamaic Datasource. Can a Shared Datasource be Dynamic?
19. A report is Performing poorly . What steps you would take to troubleshoot the Issue.
20. Write an Expression to perform a Division of two Integers fields and  to avoid NAN error.
21. have you ever used Rank, Dense Rank Ntile, CTE and Pivot..
22. Is SSRs 2008 dependent on IIS? if not how it perform the operations.

SSRS


·         What is Table and matrix report? And difference between table and matrix
·         Types of reports(Table/matrix/driildown/drillthrough/sub/linked/chat)
·         What is diff drilldown-drillthrough
·         What is difference between linked reports and subreports
·         With Reporting Services, you can create interactive, tabular, graphical, or free-form reports from relational, multidimensional, or XML-based data sources.............
Read answer
·         Reporting Services runs as a middle-tier server as part of the existing server architecture. 
·         SQL Server 2000 should be installed for the database server, and Internet Information Services 6.0 as a Web server............
Read answer
·         The phases of the Reporting Life Cycle involve:
·         Report authoring
This stage involves creation of reports that are published using the Report Definition language. RDL is an XML based industry standard for defining reports..............
Read answer
·         Following are a few ways you can tune up Reporting Services:
·         You can expand your current Server or avail the reporting service database on another server. Depending on report characteristics and application logic, it is sometimes better to have a copy of data separate to improve the performance............
Read answer

Crystal and Reporting Services Interview Questions - Part  2
 


Introduction
 

This FAQ will give you a quick start for two report giant's crystal and reporting services.
If you find this article useful or you think I need improvements please send me a message at http://www.questpond.com/.
I will definitely consider your suggestions for better improvements.
 
To view Crystal and Reporting Services Interview Questions - Part 1

We have two IIS application 'Reports' and 'Reportserver' what do they do ?
 

When you install reporting services there are two virtual directories created as shown in the figure below.
 
http://www.dotnetspark.com/kbPicture/questpond_633691499776695408_19.jpg
Figure : - IIS Applications for reports

The 'Reports' virtual directory is like an admin. If you browse to http://yourpcname/reports/home.aspx  page you can view, edit properties and display reports. We have numbered the below figure. 1 à We can browse reports and see the output of reports. 2 à We can upload a RDL file directly in the report's database. 3 à Using the report builder link we build new reports. 4 à Using the properties we can do role assignment. 5 à Using subscription link we can add new outputs (FTP, Folder etc) to subscribe to the reports. 6 à Site settings help us to decide how many numbers of snapshots we want in the history, report time out execution, report execution logging, scheduling, manage jobs and security settings.
 
http://www.dotnetspark.com/kbPicture/questpond_633691499966226658_20.jpg
Figure :- Reports Admin

The second virtual directory is the 'ReportServer' this helps us to use browse reports and use the same in ASP.NET code using URL methodology , try browsing to http://yourpcname/reportserver/  you can easily figure out what this virtual directory is all about.
 

Can you explain Report definition language (RDL) file in reporting services?
 

RDL is an XML description of a report in reporting services. So basically the RDL file has the XML grammar which describes a reporting services report. Below figure 'Snip of RDL file' shows a simple snippet of a RDL file.
 
http://www.dotnetspark.com/kbPicture/questpond_633691500940601658_21.jpg
Figure : - Snip of RDL file
 
What is the basic process of making a report in reporting services?
Here are the basic steps which will help you in creating reports in reporting services:-
. Open Visual studio 2005 à File à New project à Select 'Business Intelligence Reports' à Select Report Server project.
. When the project is created in the solution explorer you will see two folder 'Shared data resources' ( we will come to data sources in the coming questions) and 'Reports'. Right click the 'Reports' folder and click add new reports.
. You need to give credentials in the wizard. Once done it pops up a query builder. Specify the report query in the query builder and go next.
. Wizard then helps you to select the report type and some other features. Next , next and you should see a RDL file in your 'Reports' folder.
. Click on the view menu and select tool box and you should be able to design the report.
. Till now we are only in the design mode of report. As said previously all reports meta-data are stored in SQL Server database 'ReportServer'. In order that the report's meta-data gets saved in database we need to publish the report.
. To publish the report we need to specify the IIS report path. So right click on the report project, select properties and specify the 'TargetServerURL' property.
 
http://www.dotnetspark.com/kbPicture/questpond_633691501497632908_22.jpg
Figure :- TargetServerURL property

. Once we have specified the 'TargetServerURL' property we need to deploy the project. So right click on project and click 'Deploy'
 
http://www.dotnetspark.com/kbPicture/questpond_633691501668570408_23.jpg
Figure : - Deploying reports

. You can now view your report using http://localhost/Reports/Pages/Folder.aspx  URL.
 

How can we consume reports in ASP.NET?


There are three famous ways of calling reporting services report in ASP.NET:-
. Using URL way to access reports.
. Using reporting web service to programmatically access reports.
. Using report viewer control.

URL way
This is the most basic way of accessing reports. We specify the URL as shown below which then displays the report on the browser. Below is a basic format of how to display a report using the URL methodology. 1 à This is the IIS report application. 2 à This is the project name or the project folder in which the report resides. 3 à This is the report name. 4 à This is the command to the reporting service of what to do. In this case we are saying render the report.
 
http://www.dotnetspark.com/kbPicture/questpond_633691501813726658_24.jpg
Figure : - Basic URL

If we want to get the report in PDF format we need to use the 'Format' parameter.
 
http://www.dotnetspark.com/kbPicture/questpond_633691501950289158_25.jpg
Figure : - Generate the report in PDF format

If we want to pass parameters to the report we can do something as shown in the figure 'Pass parameters to the report'. In this scenario we have passed the 'Category' parameter.
 
http://www.dotnetspark.com/kbPicture/questpond_633691502084039158_26.jpg
Figure : - Pass parameters to the report


Consuming reporting services web service


If you look at the architecture of reporting service all reports are exposed through XML i.e. Web services.You can see the web service using this URL http://localhost/ReportServer/ReportService2005.asmx. In localhost you need to put the server name or IP address. So below are the steps to display reports using web service.
Step 1 à First add the web service using http://localhost/ReportServer/ReportService2005.asmx in your ASP.NET project.
Step 2 à We need to consume the web service and use it. Below is the code snippet which shows how the reporting service object is used. 1 à You can see the web service references to 'reportservice2005.asmx'. 2 à We have the named the web service as 'Localhost', so you can see we have imported the web service. 3 à We need to create object of 'ReportingService2005' class. 4 à We need to set the credentials of the reporting object. 5 à In this we will display which reports are present in the reporting server database. So we use the 'ListChildren' method to get the reports from the web service and then loop to display the same. 6 à This sample code should display the reports present in the reporting service.
 
http://www.dotnetspark.com/kbPicture/questpond_633691502269664158_27.jpg
Figure : - Display reports in reporting server

The above example is a sample of how to use the reporting web service. If you want to get how many input parameters the report has we need to use 'GetReportParameters' method, if we want to display the report we use the 'Render' function. There are many other function and methods which we have not discussed to keep the chapter simple and to the point. Please experiment around the reporting web service object for new methods and functions.

Reportviewer control
ASP.NET 2.0 comes with crystal report viewer control. You can drag and drop the control on the ASPX page and set the properties. Below figure shows how the 'ReportviewerControl' looks like and how we can set the properties to view the report.
 
http://www.dotnetspark.com/kbPicture/questpond_633691502482164158_28.jpg
Figure :- ReportViewerControl in action


Can you explain the difference between private and shared data sources?
 

Private data source is used by single report only while shared data sources are shared between reports. As a practice it is good to have shared data source so if you want to change anything you need to change only on one data source.
 

How does reports caching in reporting services work ?


As said previously reporting services has two main databases 'ReportServer' and 'ReportServerTempDB'. Below figure 'Reporting Services Caching' shows how caching works in reporting services. Client first sends a request to the reporting service for report. Reporting processor gets data from the database and the report format from the 'reportserver' database. Both these elements are then used to create 'Intermediate report format'. This intermediate format is saved in 'ReportServerTempDB'. This intermediate format is for a particular user and for a session. So if the user generates the same report he will get a cached version. If the report is having parameters then there are different cached versions of report for every parameter combination. Cached versions expire after particular schedule, when reports are modified, deleted or redeployed.
 
http://www.dotnetspark.com/kbPicture/questpond_633691502636382908_29.jpg
Figure : - Reporting services Caching

In order to set the caching properties browse to a particular report using http://localhost/reports/  à click on properties à and go to execution tab. Below figure 'Caching options' shows different conditions on which you can define caching strategy.
 
http://www.dotnetspark.com/kbPicture/questpond_633691502813257908_30.jpg
Figure :- Caching strategy


What are the major differences between Crystal and SQL reporting services?
 

Ease of hosting reports: - Using the URL technology in RS we can host reports more easily than in crystal report where we need to make a UI for the same.

Supporting platforms: - Crystal can run on windows, IBM and sun while RS (reporting services) can run only on windows environment.

Client tools: - In reporting services we have Business intelligence ( BI ) and development studio while in crystal its Report designer.

Caching: - This achieved in crystal by using cache server while in reporting services it's stored as snapshots in Reportserver database.

Export formats:-
In crystal we have HTML,PDF,Excel,XML,Word , PDF , RTF , CSV, text files while in SQL Server 2005 we have all the formats above it also gives capability to extend custom reporting formats.

Data sources:- Crystal support more data sources while RS only supports Microsoft and oracle data sources. Crystal supports ADO, COM, Database excel Access, Exchange, NT, Xbase, JDBC, File system and Paradox. RS supports only SQL Server, Oracle, ODBC, OLEDB and you can also extend additional data sources which does not exists in crystal reports.

Version issues: - One of the main issues faced in crystal is it have different versions which makes it difficult to use, while RS comes with SQL Server minimizing the version issue.

Web server support: - Crystal can run on IIS 5/6, Apache, lotus etc while RS works only with IIS 5.0 and above.
 
·          














SSIS


  1. SSIS
  2. ·         What is deployement,what are the ways deployment do,suppose I have .dtsx file i need to deploy in production server how to do
  3. ·         What is logging
  4. ·         What is package configuration in package config what is environment variable and after creating the package I need to move test environment
  5. ·         I have package in dev environment working successfully but in test environment getting errors what the ways you solve the problem
  6. ·         I have 10 packages I need to run 2,4,6 packages in one time and 3,7,9 need to run another time how to set
  7. ·         I have 1000 folders in my remote system I need to read only .txt files and load in to datawarehouse destination
  8. ·         I have 100 files in my remote system I need to read 10 files for one time and remaining will be certain time
  9. ·         What are event handlers in ssis how it will works can you give me one example
  10. ·         What are breakpoint in ssis
  11. ·         What is the diff b/w term extraction and termlookup
  12. ·         What is the difference b/w lookup and fuzzylookup
  13. ·         What is diff b/w merge and union all
  14. ·         What is the diff b/w multicast and union all
  15. ·         What is pivot and it is normalized and de normalized
  16. ·         What is unpivot difference b/w pivot and unpivot
  17. ·         What is SCD type 2
  18. ·         What is diff between sqlserver destination and oledb destination
  19. ·         What is diff between merge and merge sort
  20. ·         What is dataflow/controlflow/workflow
  21. ·         What are dataviewers /breakpoints
  22. ·         I have 1 lack records in my remote system in 2000 record will be failed so I need to trace the error how will you solve the problem
  23. ·         What are sequence container
  24. ·         What are containers available in ssis
  25. ·         Have you run stored procedure in SSIS
  26. ·         Have you work ftp task in ssis
  27. ·         What is manifestfile in ssis
  28. ·         What is difference between SSIS/DTS
  29. ·         What is difference between SSIS 2005/SSIS 2008
  30. ·         In my source .tx file contains firstname,lastname ,loc columns I need in my destination fullname(firstname+lastname) how to do?
  31. ·         What diif forloop container/foreach container