SSRS – Viewing status of Data Driven Subscriptions
What I wanted to do, is to see the status of my data driven subscriptions which are emailed out.
I wanted to ensure that there were no errors when being sent out, as well as ensuring that they were indeed sent out.
NOTE: This follows on from the FRAMEWORK FOR AUTOMATING SQL SERVER REPORTING SERVICES (SSRS) DATA DRIVEN SUBSCRIPTIONS – PART 1 and FRAMEWORK FOR AUTOMATING SQL SERVER REPORTING SERVICES (SSRS) DATA DRIVEN SUBSCRIPTIONS – PART 2
1. Log into your SQL Server and open SQL Server Management Studio, to where you have your Reporting Services installed.
2. Then you can run the following query on your ReportServer$InstanceName
Select
[Description]asDataDrivenSubscriptionName
,LastStatus
,ModifiedDateasLastRunDate
from[ReportServer$InstanceName].[dbo].[Subscriptions]with (nolock)
where[Description]=‘Internet Sales – Report Subscription from SharePoint’
a. NOTE: For the above we used our Data Driven Subscription Name: Internet Sales – Report Subscription from SharePoint
3. And as you can see below this was our output:
4. In a future I will explain how to take this output and put it into an email via SSIS so that this can be emailed to you daily.