Quantcast
Channel: SQL Server Reporting Services, Power View Forum
Viewing all articles
Browse latest Browse all 4035

Trying to change Report name using reporting service

$
0
0

http://msdn.microsoft.com/en-us/library/reportservice2010.reportingservice2010.setproperties.aspx

using the example given in the above link Im trying to change the report name using reporting service

Property[] Props = new Property[1];              
Property setProp = new Property();               
setProp.Name = "Name";               
setProp.Value = txtNewReportName.Text;               
Props[0] = setProp;    
string itemPath = cboReports.Text;
_rs.SetProperties(itemPath, Props);
MessageBox.Show("Name Changed");

I get the following error, should i be using a differnt method? 

The property 'Name' is read-only and cannot be modified or deleted. Microsoft.ReportingServices.Diagnostics.Utilities.ReadOnlyPropertyException: The property 'Name' is read-only and cannot be modified or deleted.


Viewing all articles
Browse latest Browse all 4035

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>