This is completely lame that I cannot find it, so I have to ask. I know in the reportsmanager site where to enable and disable data sources. But where in the tables of the reporting database is this stored? I've found the data source in the Catalog table, type 5, but don't see anything that remotely looks like a disabled/enabled field. I've also checked several of the other tables, like Policies and DataSource and SecData and etc…, but cannot find it. Can someone enlighten me please. I want to programmtically enable and disable data sources for certain reports, hence the reason I ask. SQL 2014 Standard. Thanks.
Sql-server – SSRS Data Source enabled/disabled
sql serverssrsssrs-2014
Related Question
- Do Multiple Data Sources in SSRS Require Enterprise Server?
- SQL Server – How to Change Data Source of a Linked Report
- SQL Server 2008 R2 – How to Get SSRS Datasources from ReportServer
- SSRS 2008 – Fix Issues in Chrome
- Sql-server – how to add a data source to SSRS – reporting services 2014
- Sql-server – Data from different tables into one table
- Sql-server – Creating Report Subscriptions on report that are using a Shared data source that uses Windows Integrated Security
- Migrating SSRS 2008 to 2016 – ReportSync Cannot See Data Sources
Best Answer
It's stored in the Content column in the Catalog table as XML, and the Content column is in binary - so you'll need to decode it from binary and find the Enabled XML element. For example, this will give you a list of the shared Data Sources with their enabled/disabled status: