Rename Data Source through MSBuild Script Version 3.5

Jan 9, 2013 at 11:29 AM
Edited Jan 9, 2013 at 11:30 AM

I am using MSBuild Script to deploy the SSRS Report.

Assume that I have deployed reports with DataSource name as ‘Dev_LocalDB’.

Is there any possibility of changing the DataSource name after creation fo Datasource through MS Build script

Eg. I need to change the DataSource Name configured as ‘Dev_LocalDB’ to ‘LocalDB’through MS Build script.

<ReportDataSourceToDeploy Include="Dev_LocalDB

Your help in this regard is much appreciated!


Thanks & Regards,


Feb 21, 2013 at 1:54 PM
Hi Kvramesh
 There is no possibility of change the Datasource name after the DataSource has been deployed.  However you can changed it before you deploy it to the report server by using a MSBuild parameter i.e. ReportDataSourceToDeploy Include="$(DataSourceName)".  
Steve Wright