Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Get SSRS Report Server dsn details programmatically Expand / Collapse
Author
Message
Posted Thursday, April 11, 2013 1:02 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Yesterday @ 2:50 AM
Points: 26, Visits: 209
Hi,

I need to get the name of the Report Server dsn details for a given SSRS instance programmatically.
I'm aware that I can get this by going into the SSRS Configuration Manager GUI.
I'm also aware that this information is written to the RSReportServer.config file, but it is encrypted.
I've seen RSConfig.exe, but it appears that while this will set the DSN information, it can't retrieve that info.

Is there any way to retrieve the dsn details from the RSReportServer file, or from anywhere else?


The reason that I need this is that in our environment for testing purposes, we regularly change the database that SSRS is using.
We therefore need to know what database is being used at a given time.


Thank you for your help
Steve
Post #1441448
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse