SSRS Report Server - Patch update Dec 2022 - Subscription's based on Day or Month can not modify or create new - reporting-services

Dec 2022, the SSRS/PowerBI report server had a patch/update.
Since that time, I am no longer able to modify or create new subscriptions with the Schedule time of day or month.
If the subscriptions is not modified, it continues to work but unable to modify the time or distribution list on an NEW or Existing subscriptions if the schedule is based on Day or Month.
Subscription (new or modified) based on HOUR are able to save an execute.
Has anyone else experience this problem?
To save the subscription

This is a bug we informed Microsoft about in November and finally convinced their team that it was an issue earlier this month. We have a ticket number but apparently the only way to ask about it is to call. :smh:
The workaround is to use a Shared Schedule instead of a Report Specific Schedule.
The shared schedule needs to be set up before the subscription. Go to Site Settings by clicking on the Gear icon in the upper right. Then go to the Schedules page and click on New Schedule.

Related

How can we use a bot to check with SSRS if the reports ready to view in certain time intervals

How can we use a "bot" to check with SSRS if the reports are ready to view in certain period of time intervals. for example like every 3 minutes the bot will check with SSRS if the reports are ready. If the reports are ready the bot can send a message back to client saying the reports ready to view.
Thanks
I am not entirely sure why you want to do this, but you can track every execution of every report in SSRS via the ReportServer database. You can have a look through the database and roll your own script, though there is already a helpful view available called ExecutionLog3, which holds the report name, user that ran it, when, with which parameters set, the render type, execution failure/success, etc.

SQL Server Agent Job for SSRS subscription loses schedule config

We have a series of subscriptions on SSRS that email out reports in Excel format every 30 minutes. I have edited these via SQL Server Agent in Management Studio so the schedule only runs between certain times on weekdays only - as I don't believe this is possible via SSRS.
One particular subscription, a couple of times a day, reverts back to running once per week at 8:00 on Mondays. I then have to edit the schedule again. No errors occur and it does work for a few hours at a time.
I imagine it's related to me editing the schedule via the 'back-end' but all the other similar subscriptions where I have done the same work fine.
Can anybody suggest where I should be looking to investigate this? What other detail would be useful to help to resolve this issue?

Job Activity Monitor has incorrect Next Run

We recently moved our SSRS server to a backup, but the time on the back up was in 2014.
When we noticed this, we corrected it. But all the jobs ran, and updated the Next Run time to 2014.
So none of the scheduled jobs are working now.
I triggered some of the jobs manually through the Job Activity Monitor, and the jobs run, but the Next Run time remains in 2014.
How can I correct this? I haven't found an option of manually changing the Next Run time, and I don't really want to recreate the schedules for each refresh, emailed subscription and ETL.
Update:
I found the next_run_date field in the sysjobschedules table and updated it to 2013. But it doesn't seem to update the system. When I open and refresh the Job Activity Monitor, the dates still show 2014.
Are you referring to SQL Server Agent scheduled jobs created by Reporting Services report subscriptions? If so you need to fix the date in the ReportServer database, not in SQL Server metadata (you should NEVER be updating SQL Server metadata tables manually!).
Have a look in the "Subscriptions" and "Schedule" tables in the ReportServer database to see where the 2014 date is coming from.

SSRS 2008 R2 Repeat One-Time Subscription

I am wanting to create a one-time SSRS shared schedule that can be altered once run, to execute again at a future point in time. The reason I am having to set-up a subscription in this way is because I need to email a set of reports based on a bespoke accounting calendar; we don't have enterprise so data-driven is not an option.
I have tested this method in the ReportServer.dbo.Subscription and Schedule tables, but have so far not managed to get it to work. I have updated the NextRunTime and StartTime columns of the Schedule table to the time I require the reports to be sent, and this appears to update on the Report Server Shared Schedules page (Next Run) but the email does not send.
Is there another table on the ReportServer database that I need to update, or is this simply not possible?
Thanks
Andy
I suggest taking a look at the article below. It details how to set up data driven subscriptions on SQL Server Standard Edition, and goes through manually activating subscriptions via SQL Server Agent.
http://www.sqlservercentral.com/articles/Development/datadrivensubscriptions/2432/
I've used if for a couple of clients and it generally works pretty well. The only thing I've since altered is increasing the timer to 10 seconds between running each data driven report.
Regards,
Jason
In reading up on this, messing abound in the tables is not supported by Microsoft. USE AT YOUR OWN RISK!
I attempted the very same thing. When you change a subscription on the front end, the ReportServer.dbo.Schedule.StartDate column changes with each edit. I tried just altering this value, but adding a value here made no difference. There was no email and when I went back to my subscription in the SSRS webpage, the original datetime value was there. So that datetime must be stored elsewhere.
I did a SQL Trace and found these Sproc's were being called. I copied out the lines that looked promising. By changing the time value #active_start_time=160400 in the last one and running the entire batch, I could get an emailed report at the desired time. But I am not content with this; because when I go back and view My Subscriptions webpage, the original datetime is still listed.
exec msdb.dbo.sp_delete_job #job_name=N'D478A346-ED05-422D-A73E-023080AD56DD'
exec msdb.dbo.sp_add_job #job_name=N'D478A346-ED05-422D-A73E-023080AD56DD',#description=N'This job is owned by a report server process. Modifying this job could result in database incompatibilities. Use Report Manager or Management Studio to update this job.',#category_id=101
exec msdb.dbo.sp_add_jobserver #job_name=N'D478A346-ED05-422D-A73E-023080AD56DD',#server_name =N'(LOCAL)'
exec msdb.dbo.sp_add_jobstep #job_name=N'D478A346-ED05-422D-A73E-023080AD56DD',#step_name=N'D478A346-ED05-422D-A73E-023080AD56DD_step_1',#command=N'exec [ReportServer$instanceDB].dbo.AddEvent #EventType=''TimedSubscription'', #EventData=''db7d7b08-3eee-4bb8-b354-b58c653b8ab6'''
exec msdb.dbo.sp_add_jobschedule #job_name=N'D478A346-ED05-422D-A73E-023080AD56DD',#name=N'Schedule_1',#freq_type=1,#active_start_date=20180405,#active_start_time=160400,#freq_subday_type=1

create a gui for google app script CalendarApp.createEvent()

I want to create a web app that allows me to set a schedule on my calendar. I know how to create an event and enter the date and time in the arguments. However I want it to be a GUI. I used dateBox(), but it automatically sets the time to midnight. How do I allow my assistant to go to the GUI and select date and time such as a listbox for the month, another listbox for day, another year, and a listbox for time with normal looking time frames such as 9:00am, 4:00pm for both start time and end time, and have it place the meeting on the calendar correctly? If I can just use something similar to the datebox for the date, and create a listbox for the time of day for the meeting that would be great, but the listbox for all of them would work too.
I know it would be easier for her to just go into the calendar and add it, but I want her to ask the client for a couple of dates and times that work for them, enter them in the gui web app, and it sends me an email with the dates and times, and I just confirm which date and time I want, and then it automatically schedules it on the calendar with the correct date and time.
thanks,
chris
If you still need to solve this problem, there is a nice example of a calendar application here
You can adapt it to your liking as necessary, but I think it will point you in the right direction.