How to find an SSRS report subscription was executed 3 days back and sent an Email to the requested person or group?

Hi All,
I got complain that one of my reports which was subscribed from SSRS Report Manager could not delivered to targeted people 3 days back. 
I want to to check that Email was sent or not So I wrote below query but I think table  will be over written on each execution of subscription and cannot see the history. I can see only the latest data.
SELECT A.NAME,B.Description,B.LastStatus,B.LastRunTime 
FROM [dbo].[Catalog] A
INNER JOIN [dbo].[Subscriptions] B ON A.ItemID=B.Report_OID
WHERE TYPE=2 
AND NAME='REPORT_NAME'
AND B.LastStatus LIKE '%EMAIL ID%'
AND B.LastRunTime>Getdate()-1
ORDER BY B.LastRunTime
There is another query which says that report was rendered by SUBSCRIPTION and have no track that Email was sent or not.
--Query to find out how a report was execute 
SELECT * FROM EXECUTIONLOG3 
WHERE REQUESTTYPE='SUBSCRIPTION'
AND ITEMPATH LIKE '%REPORT NAME'
ORDER BY TIMESTART DESC
There is any way to track this?
https://msdn.microsoft.com/en-us/library/ms159110.aspx
http://blogs.msdn.com/b/deanka/archive/2009/01/13/diagnosing-and-troubleshooting-subscriptions.aspx
Thanks Shiven:) If Answer is Helpful, Please Vote

Hi S Kumar Dubey,
According to your description, you want to find the failed subscription report and resent the report to users again.
In this scenario, you can run the query below to find the failed subscription.
use ReportServer
go
SELECT C.Name, S.LastRunTime, S.LastStatus, S.Description
FROM Subscriptions AS S
LEFT OUTER JOIN [Catalog] AS C
ON C.ItemID = S.Report_OID
WHERE LEFT (S.LastStatus, 12) != 'Mail sent to'
AND LEFT (S.LastStatus, 12) != 'New Subscrip'
Then you can execute the code with jobstep command below to find the corresponding SQL Agent Jobs for failed subscription, then execute the job to send the email again.
select 'exec sp_start_job @job_name = ''' + cast(j.name as varchar(40)) + ''''
from msdb.dbo.sysjobs j
join msdb.dbo.sysjobsteps js on js.job_id = j.job_id
join [ReportServer].[dbo].[Subscriptions] s on js.command like '%' + cast(s.subscriptionid as varchar(40)) + '%'
where s.LastStatus like 'Failure sending mail%';
Reference:
SSRS Failed Subscription Notifications
Re-running SSRS subscription jobs that have failed
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support

Similar Messages

  • My emails from the same person are grouped together, how do I undo this so that each email stands on it's own?

    1.My emails from the same person are grouped together, how do I undo this so that each email stands on it's own?
    2.Currently my emails are grouped together if the subject is the same, how do I undo this?
    3.My emails are "folded up", with tabs like "See more" - how do I undo this? - I want to see the full email at once without having to click multiple times in the email on "show more" etc.
    4.When I send an email to some one, a copy of that email is sometimes sent to me?? - this confuses my and make me think I by accident sent it to myself, but when I check it in the SENT box, it the correct recipient's name was used. How to fix this mystery?
    Please help, I am not good with computers so you will have to keep your answer simplictic or in steps.
    Thanks!

    Click the View menu in the Mail menu bar and uncheck Organize by Conversation.

  • HT1766 I have manually back up my iphone few days back, and my contact got missing the next day. i restored my back up from iTunes, however, my contact did not get restored. How do i check if the manual back up did actually back up my contact or not?

    I have manually back up my iphone few days back, and my contact got missing the next day. i restored my back up from iTunes, however, my contact did not get restored. How do i check if the manual back up did actually back up my contact or not? How do i get back my old contact in my phone?

    Your entire second paragraph is so confusing I am going to ignore it.
    But I may be able to answer your first and third paragraphs, which seem to address the same question.
    I wonder where your iPhone states it was backed up yesterday.  I am going to assume that you see this under Settings > iCloud > Storage & Backup.
    If that is true, then the backup from yesterday is in iCloud.  The one and only way to restore an iCloud backup is to do this on your iPhone:
    Settings > General > Reset > Erase All Content and Settings
    That will cause your iPhone to begin a setup process.  As part of that process, assuming you enter the same Apple ID you used when you created the iCloud backup, you will be offered the opportunity to restore from it.

  • Certificate for the website, was going to copy and send an email to the website to ask about the certificate. I got my cursor just inside the pop up and the whole computer shut down. Why what happened i am not sure about going to the website now....

    Question
    Went to Crossings Book Club website while there something popped up about the certificate for the website, i was going to copy it and send an email to the website to ask about the certificate. I got my cursor just inside the pop up and the whole computer shut down.

    If you think getting your web pages to appear OK in all the major browsers is tricky then dealing with email clients is way worse. There are so many of them.
    If you want to bulk email yourself, there are apps for it and their templates will work in most cases...
    http://www.iwebformusicians.com/Website-Email-Marketing/EBlast.html
    This one will create the form, database and send out the emails...
    http://www.iwebformusicians.com/Website-Email-Marketing/MailShoot.html
    The alternative is to use a marketing service if your business can justify the cost. Their templates are tested in all the common email clients...
    http://www.iwebformusicians.com/Website-Email-Marketing/Email-Marketing-Service. html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • HT4061 my iphone was stolen last night and i am worried about the next person accessing my personal information. How can i protect myself

    i am worried some one will be able to see my photos, bank deatails and phone numbers to steal my identity.
    i loged into find my iphone last night but the device was switched off straight away i saiod to block the phone and ease it but i am really concerned some one can access my personal information

    Once the device is gone it is too late to protect yourself.
    Hopefully your device was setup to auto-lock and had a passcode, otherwise all data is accessible to anyone that picks it up.
    Frankly, the most likely scenario is that the device has already been restored as new and is or has been sold for quick cash.

  • How to find out SSRS report server name

    I'm trying to follow the steps for using SSRS web services (http://ssrstutorials.blogspot.com/2012/10/lesson-12-using-ssrs-web-services.html).
    In Step 3:
    Click advanced--> add web reference -- url - http://localhost/reportserver/reportservice2005.asmx
    (replace localhost with your report server name).
    How do I know what's my report server name?
    Thanks, 

    Hi sherri71,
    Sorry for that mark an incorrect reply as an answer.
    The reply suggested by Akbar is about Instance Name, not report server name. Based on my further research, I find that the Reporting Services server name is the computer name which install
    the report server. So we can try to click Start button, right-clicking Computer, and then clicking Properties. Under Computer name, domain, and workgroup settings, you can find your computer name.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine xiong
    Katherine Xiong
    TechNet Community Support

  • How can I delete an event that was created somewhere else and sent to me?

    I have been sending myself invites from my work email (Outlook Calendar), and some of them have a recurrance.  I am looking to delete some of the events, but I can't figure out how to do it. Help?

    You either need to go into the event on you iPhone and change your responce to decline. This will remove it from your calendar. Or in Outlook you should remove yourself as an invitee.
    If you're looking to delete just some of the events, follow my first option on your iPhone.
    Message was edited by: Michael Bratley

  • Run SSRS report subscription on demand?

    Hi All,
    I am aware how we can schedule a report subscription but is it possible to trigger subscriptions on report execution?
    It is event based, but I want to trigger a report extract as an attachment to an email whenever the report is executed?
    Possible without writing a VB/C# script? Or is there a better way?

    I think that there are undocumented T-SQL means of changing the subscription schedule.
    If you are comfortable with VB.Net, there are means of doing this using the rs.exe.  I think that I can figure it out, I just haven't had to.  I am more comfortable using code to actually generate the email.  But it won't be fired from a request
    for the report.
    There is a means of doing this in SSIS.  I speak of one at SQL Saturdays and there is a TechNet article this is similar to my talk: 
    http://technet.microsoft.com/en-us/library/ff793463(v=sql.105).aspx .
    I'm not always the biggest fan of how Microsoft does things.  But Microsoft builds pretty good tools.  And they are usually pretty close to the mark on providing the functionality that people need 90% of the time.  And then they provide hooks
    that one can use to build your own extensions for the other 10 or so percent.  But it requires writing .Net code.
    Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com

  • HT4906 I want to download the new updates I think to the 10.9 but our mac was given to us and when it comes to the last page it asks for the user name and password but this mac was wiped clean. How do I find out this info so I can get iPhoto?

    I want to download the new updates I think to the 10.9 but our mac was given to us and when it comes to the last page it asks for the user name and password but this mac was wiped clean. How do I find out this info so I can get iPhoto? To be honest I'm not even sure what type of Mac I have and don't know how to find out what kind it is
    I'd also like to make address labels and don't know where to find that either

    You would make address lables with the Contacts app.
    If you don't have the user name and password used to set up the machine then you need to purchase the apps for yourself.

  • How do I find out if my comp was using iCloud back up? It was stolen

    How do I find out if my comp was using iCloud back up? It was stolen

    On a computer, go to iCloud.com. Sign in then click Find My iPhone. That will find all your registered devices including your Mac. The Mac must be turned on and Find My Mac selected in System Preferences > iCloud prior to being stolen.

  • How to find out BW reports

    Moderator nessage - welcome to SCN
    But before posting, please take the time to read the rules of engagement - please do not ask vague, basic questions. And please make sure that you post to the correct forum.
    Hello All,
    Pleas any body can help me how to find out BW reports & what are the steps ?
    Thanks & Regards
    Tejaswi Gupta
    Edited by: Rob Burbank on Apr 6, 2009 5:16 PM

    hi,
    goto SE81 and click on the corresponding application like fi
    You will get the standard packages for FI with the programs available
    Please check out this link
    http://www.sap-img.com/financial/useful-reports-tcode-in-sap-financial-accounting.htm
    or
    Check this Transaction: SAP1
    U will have reports based on the area.
    or
    Look at the table TADIR --> see only the programs, even you can look at based on the Development class wise
    If you find it useful mark the points
    Regards,
    GNK

  • How to find out existing Reports and sap scripts and smartforms ?

    Dear Friends ,
    How to find out existing Reports and sap scripts and smartforms ?
    ( e.g: how many existing reports and SAP scripts are available in MM or SD module , What is the procedure to find out ? )
    Thanking you.
    Regards,
    Subash.

    scripts r stored in TNAPR TABLES

  • How to find existed abap reports?

    how to find existed abap reports?

    Hi abapdoubts,
    on wich time do you want to find?
    In runtime? Than sy-repid.
    on dialog?  take F1 with further Infoemation.
    On the GUI on the riht_button corner, there are somw Information too.
    regards, Dieter

  • How to find already existing report

    Hi all,
    i am working with Support project.
    I have requirement to find already existing requirement.
    I went RRMX and i checked in WORKBOOKS AND QUEREIS AND VIEWS.
    but i did not get that report .
    is there any way to find already existing reports in system.
    Thanks in advance,
    Regards,
    Bhaskar

    If you know the name of the query/view and workbook in Bex you could also search with user ID, Date the report is modified and so on.
    Also check these tables RSRREPDIR RSZCOMPDIR
    thanks.
    Wond

  • SSRS reporting with sharepoint list using Distinct and Multivalue parameters

    i want create ssrs report with sharepoint list using ms-vs(2008). i want create Distinct multivalue parameters by using CAML query. There is any way we put CAML query where we use Distinct keyword and IN clause in CAML query... i hope all experts will
    understand my poor English... sorry for poor English.. plz help me

    Hi AsifMehmood,
    Per my understanding you have create an SSRS report with SharePoint list, now you don’t know to create the distinct parameters by using CAML query,  right?
    For the CAML language doesn’t have any reserved word (or tag) to set this particular filter to remove duplicate results, but we can use the custom code to do this function. I have tested on my local environment and we can do that by create one hidden parameter(Param1)
    to get all the values from the fields which will  add the filter and then create another parameter(Param2) to get the distinct values based on the Param1, we use the custom code to do the deduplication.
    Step by Steps information in below thread for your reference to create the parameters and the custom code:
    "How to get distinct values of sharepoint column using SSRS"
    Other similar thread for your reference:
    https://audministrator.wordpress.com/2014/02/17/sharepoint-list-add-distinct-parameter-value/
    If your problem still exists, please feel free to ask and also try to provide us more details information.
    Regards
    Vicky Liu

Maybe you are looking for

  • Slow MacMini after upgrading to Maverick and later Yosemite.

    Gents, I have had nothing than trouble with my MacMini (late 2009) since i installed Maverick and I hoped some things would improve with Yosemite. That did not happen. I have been through all possible "solutions" but no luck. I hope someone can help

  • ThinkPad USB 3.0 Dock Driver Availability Win 8.1

    Driver for ThinkPad USB 3.0 Dock station cannot run under Win 8.1.  Support Center stated: Driver being developed.  Does anyone have an expected completion date? Moderator Note; subject edited.

  • Excel-document's book size format after downloading

    Dear forumers, we have developed a user report in ABAP, this report downloads table containing data into Excel. The problem is that the downloaded table is wide and the page format in Excel-document is broad size as default. We need the system to dow

  • How can i set upfind my iphone on my laptop to find my phone

    i lost my phone at a party and i need to set up find my iphone on my laptop to find it. can i do that?

  • Transfer files from old CRT iMac

    My mom just got a new Intel iMac, and when she was setting it up, it told her she could transfer files from her old iMac using a firewire cable. Well, the old iMac doesn't have firewire. Does she have any other options? She's not very computer savvy,