Last week I wrote a query to see if we had any "My Reports" subscriptions, and because nothing came up and I was concerned that I might be missing something, I created a test daily subscription to a report in my own "My Reports" folder. The subscription was created with an invalid email address. I get a daily report of subscription failures, and this test subscription is now showing up in this report.
The problem is that I cannot find this subscription via the report manager interface (I would like to delete it now). Since it shows up on the daily failure report with path details, I know that I should see it under the Subscriptions report that is found in the "My Reports" folder, but it isn't showing. I even tried going the roundabout way from Home > Users Folders > MyDomainAndUserName > My Reports > Subscriptions (and then to Manage/Subscriptions). There is nothing there.
Would this be a permissions issue? I have no problem seeing, creating and modifying other subscriptions.
Thanks in advance for any tips.
Related
I have SSRS 2019 in native-mode with SQL Server 2019 standard behind it. To be very clear, email functionality works and outgoing emails from SSRS is being sent and received. The issue is when the option to attached the report (Include Report) is selected in the subscription options, the following error is received at time of execution:
Failure sending mail: The permissions granted to user '' are insufficient for performing this operation.Mail will not be resent.
I've tried different render format (MHTML, PDF, CSV, XML) to no avail. "Include Link" option works without issue. So unless there is a secret permission somewhere for attachments, I'm a bit confused.
SQL Server Database Mail works and shares the same email configuration values as SSRS.
If anyone has faced this issue, I would love to know what caused it and how you solved it in case my situation is the same.
Nevermind everyone. After I posted my question, I realized the service account was still at the default "Virtual Service Account". After I got an actual domain service account and updated it, plus restarted the service, emails with attachments started flowing through without issue.
Note: I had to delete my 1 existing test subscriptions since it no longer was being recognized with the new service account. After creating a new subscription, there were no more issues with attachment-emails. This in itself could be another problem altogether. More testing is required.
I have created the SSRS Subscription in the SSRS 2016 and run this subscription automatically using SQL Server Agent job. The subscription was working fine but from last 3 days, all recipients received duplicate emails. I have checked the report server logs in Catalog, Subscription, Schedule tables but didn't find the duplicate report or subscription run entry. Also, checked the report server logs file but didn't find the duplicate entry. I still don't know why these are resending. Any advice?
I have an SSRS report that scheduled to send once a day at 9PM. Every time I try modifying the recipients, they revert back to the e-mail address for the person that created the report.
It's only displaying that in SSRS, if i check the subscriptions in the the ReportServer database, it shows the correct recipient list (It's not showing those that are CC'ed though). It also says that on the last run it sent to each of the recipients intended to be on the report.
I've tried modifying it a few times already, CC'ing myself on the report, but I haven't received the report once and the recipient list keeps reverting back. I deleted the report and re-created it from scratch but the same thing occurs.
I also have some reports that say it was sent on schedule to all the recipients, but the e-mail never comes through. Looking through the ExecutionLogStorage table it also seem to show that it was sent on schedule.
I want to be able to deploy a report and this deploy should take care of the an email subscription and set the report run schedule; I shouldn't have to manually create a subscription later on and if a new subscription is to be applied, I should be able to update the subscription with report deploy only. If somebody could provide a generic subscription element template to copy and paste in the rdl file, will be a great help.
Subscriptions are not part of the RDL file.
There is no way you can do what you want if you want it to deploy using right-click:deploy.
If you are using some automated process for deployment (rs.exe, SSRS webservice etc), you can set up subscriptions, but it would be a lot of work
From everything I have found, I do not see how you can create a subscription. I have found a lot on altering an existing subscription though:
https://msdn.microsoft.com/en-us/library/dn747196.aspx#bkmk_how_to
No instruction of rCREATING via PS, only mods:
https://msdn.microsoft.com/en-us/library/ms156307(v=sql.130).aspx
you may be able to create the subscription ion a STAGE environment then transfer it to Prod as part of your post deployment
I have created a report for particular products which pulls up product number and types of products related to those product numbers. It is a very simple report where user is allowed to enter product number in a parameter which returns all the data related to this product. Main purpose for this report was to create pdf files for individual product numbers and all its data. So I decided to do data driven subscription to provide this functionality to the business users. Now, in the business requirement it says that "business submits request to pull 200 products and get a message saying "your request will be delivered to this particular folder within 24 hours" Now this is the part where I got confused. Can a report take request and display messages like that?
Requirements: 1.request is submitted by business to pull 200 producttypes let's say today. Then message is received "thank you for requesting. We will send an email to"[email address just entered] " when the report is ready. Files will be delivered to the following folder: [Path+date, time]" I don't know what email address he's talking about here I'm assuming he wants the report to accept emails when submitting the request. And date time on the folder path will the time request was submitter. 2. A job is kicked off to slowly deliver producttypes to the folder path. 3. Resulting file are places in a new subfolder named todaysdate+time. 4. Filename is productnumber. I have got the part down to create a report that has two columns productnumber and producttypes which has a data driven subscription that delivers files with productnumber name in folder. But I don't understand this message and request thing he's talking about. Also how to generate a subfolder depending on the time of the request. Thanks Daniel
Yes
Report can handle this.
Please provide more details and I will work this out for you.
Daniel
One way that comes to mind is by having two sets of reports and two stored procedures.
Report 1 and stored procedure1 would get the parameters and update the report data (see "When the report data is updated on the report server" option in the data driven subscription wizard) and the other report would then be executed and email/save the files in the required format.
Your first SP however needs to flag that your second report needs to be executed.