Click here to Skip to main content
15,890,845 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to edit RSReportServer.config & rssrvpolicy.config to create custom data source for reports.
Currently, I am doing it manually, & also exceute rsconfig.exe

How can I do it using C# code.
Posted

1 solution

You need to find the files and then add the needed config entries in them.

RSReportServer.Config & RSRRVPolicy.config will reside in the Reportserver folder. You have to browse the same, find it and then use it.
RSReportDesigner.Config will also need an edit such that the BIDS work perfectly for that CDE. For it too, you need to find the VS folder of BIDS and then Private Assemblies forlder where it reside.
 
Share this answer
 
Comments
harsh_c 4-Apr-11 7:43am    
Yes, but if more than two instance of SQL Server is installed, then it can work wrong, so i want to know that is there any method(in .net code or using SSRS web service) to add Custom Data Extension
Sandeep Mewara 5-Apr-11 4:28am    
If more than 2 instances are installed, then you need to either change in both or one and then use it accordingly.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900