We need Data Source while developing reports in Report Designer and Report Builder tools. For this example, I will be using SQL Server Business Intelligence Development Studio 2008.
To begin, I'll create a new Report Server Project.
Create Report Server Project
1. Open BIDS: Click on Start --> All Programs --> SQL Server 2008 --> SQL Server Business Intelligence Development Studio as shown below:
2. From the menu bar, select File --> New --> Project...
4. Click OK to complete the wizard.
Create Shared Data Source
Follow below steps to create a shared data source:
1. In the Solution Explorer pane, right click on Shared Data Sources folder --> click on Add New Data Source. This will open Shared Data Source Properties dialog.
2. Enter Data Source name in Name textbox (in our example its dsTestHN) and Type as Microsoft SQL Server. Click on Edit button to set connection string.
That's all! We have successfully created a Shared Data Source.
Click here to understand about Data Sources Supported by Reporting Services.
Hey !
ReplyDeleteWe have done that. And now is the question: can we reuse a shared Data source between projects, and people? and if yes - how? The only method I found, is through the WEB UI, going to the properties of an existing report--> Data Source --> browse...
Is there a way to define it in the Visual Studio SSRS itself?
Hi Greenozaur,
ReplyDeleteTake a look at this article: http://msdn.microsoft.com/en-us/library/cc671619.aspx. It is for 2005, but I think that it still applies.
My personal opinion...use indirect configurations for your data sources: http://msdn.microsoft.com/en-us/library/cc671625.aspx