We will learn how to do the following in this article:
SSRS is a tool for building a report and publishing it. If we need to build a report using the SSRS tool then we need to install Business Intelligence Development Studio (BIDS). Then we are able to make the report.Here I have shown a simple demo.Create SSRS ReportStart VS 2012 then go to "File" -> "New" -> "Project...".Go to the Business intelligence Tab then select Project server project Template then change the name of the project then click OK.Then right-click on the Report folder that is in Solution Explorer then click on the Add New Report command as shown.Then in this Report Wizard window click on the Next button.Then select the data source in which we need to rename the name of the data source and select the type of data source and then click on the edit button for the connection string.Here we need to configure the data source connection string. For that we need to provide the server name and enter the server authentication and select your database then click ok.After configuration we can see the connection string in this box. Then click the Next button.When we click on the next window this window appears. This window appears because we have selected SQL Server Authentication in the previous window. Here we need to rovide the user name and password of the server that we have entered into the previous window.Then this window appears. In this window we need to write a T-SQL statement depending on your requirements and then click on the Next button. Here I want to show all the data of the employee in the report.Then this window appears. In this window we need to select report type. Here two options are available, one is Tabular and the second one is Matrix. You can choose the type depending on own requirements and then click on the Next button. Here I select the tabular format for the report.Then this window appears. In this window we can configure the data display. Then click the next button.Using this window we can select the table style and then click the Next button.Then this window appears. This is the last step of the report configuration with the data source. Then Click on the Finish button.After clicking the Finish button we can see this window. Here we can see two tabs, one is Design and the other one is Preview. When we click on the Preview tab then we can see a preview of the data.When we click on the Preview tab then we need to provide the authentication details then click on the View Report button.Here we can see the preview of the data.Configure Reporting serverAfter creating the report we need to deploy the report to the report server, but before the deployment of the report we need to configure the report server.For the configuration of the reporting services we need to open the SQL Server Reporting Services Configuration Manager.Here we need to configure the server. For this provide the server name and instance name from the dropdown list. Then click on the Connect button.From this window we get the report server URL. Click on this URL.After clicking on the URL you might get this error.If you get this error then fix this error. Run your Internet Explorer as administrator and copy the URL from the error page and paste it into the other window of Internet Explorer. Then we are able to see this window.Deploy reportAfter the configuration of the report server we need to set the properties of the project. For that right-click on the project then select the properties option.Provide this http://yourcomputername/ReportServer_MSSQL URL in the TargetServerURL property then click on the Apply button and then OK.Then we can deploy the project.Before the deployment of the project we need to run VS 2012 as administrator.After successful deployment we see a success message in the output window.Then we see the deployed report here.Clicking on this report provides the authentication details, then click on the view report window. Then we are able to see the deployed report.Thanks for reading my article.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: