SSRS Subscription Misrun

Hi,
I have a SSRS Report with a subscription scheduled to run quarterly Jan, Apr, Jul, Oct on the 1st of each month.  The report ran this past Feb. 1st.  I'm unsure why? Can this be fixed?
Thank you in advance.

Hi CheriseW,
Per my understanding that your subscription which should run quarterly at Jan/1, Apr/1, Jul/1,Oct/1 suddenly run at 02/01/2015, right?
Does the problem occurred only once or many times? The issue can be caused by many factors:
When a scheduled operation is defined, the report server creates a corresponding job in SQL Server Agent and runs the job on the date and time specified in the schedule. So please first check if someone have changed the commend in the job steps or someone
run the commend manually:
1. Find the Job name of this subscription by execute the query below: Job Name=ScheduleID
use ReportServer;
SELECT USR.UserName AS SubscriptionOwner
,SCH.ScheduleID
,SCH.NextRunTime
,SCH.LastRunTime
,SCH.EndDate
,SCH.EventData
,SUB.EventType
,SUB.SubscriptionID
,SUB.ModifiedDate
,SUB.[Description]
,SUB.DeliveryExtension
,SCH.Name AS ScheduleName
,CAT.[Path] AS ReportPath
,CAT.[Description] AS ReportDescription
FROM dbo.Subscriptions AS SUB
INNER JOIN dbo.Users AS USR
ON SUB.OwnerID = USR.UserID
INNER JOIN dbo.[Catalog] AS CAT
ON SUB.Report_OID = CAT.ItemID
INNER JOIN dbo.ReportSchedule AS RS
ON SUB.Report_OID = RS.ReportID
AND SUB.SubscriptionID = RS.SubscriptionID
INNER JOIN dbo.Schedule AS SCH
ON RS.ScheduleID = SCH.ScheduleID
ORDER BY USR.UserName
,CAT.[Path];
2. Right click the Job to select the "Properties" and select "Steps", double click to edit the commend to see if some one have change it, by default, it is like below:
exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='836075c9-6945-4f26-8175-9da44c899af2'
The SQL Server Agent service may calculates an incorrect NEXT_RUN_TIME value for the job. Therefore, the job does not always run at the correct times. This issue occurs because an error causes a date value to be changed unexpectedly, the date value is used
to calculate the NEXT_RUN_TIME value. If you got the subscription execute at wrong time many times. please edit to reset the subscription to change the start date to now.
If you still have any problem, please feel free to ask.
Regards
Vicky Liu
Vicky Liu
TechNet Community Support

Similar Messages

  • SSRS Subscriptions help

    Hello all,
    I need help in creating report subscription  to run on every Wednesday for Year to last Friday.So we were to generate the report next week, we should generate it for 01/01/2014- 06/06/2014. I am new to SSRS subscriptions. Please help.
    Thanks

     we should generate it for 01/01/2014- 06/06/2014.
    Hi Lshi123,
    In Reporting Services, we can create subscription to send report to specified E-mail address on a schedule. However, the execute time on the schedule cannot be the past date. So in your scenario, we cannot create subscription and generate it for 01/01/2014/-06/06/2014.
    Here are some link about SSRS subscription for you reference.
    http://msdn.microsoft.com/en-IN/library/ms160334.aspx
    http://msdn.microsoft.com/en-us/library/ms154020.aspx
    http://www.youtube.com/watch?v=sO0Y_IxdE8w
    If I have anything misunderstand, please point it out and elaborate your requirement, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • SSRS Subscriptions Issue

    Hello All,
    After the server migration (old-new are identical servers in all aspects including HardWare) the SSRS subscriptions are having issues.
    1. They will run as scheduled but mails are delivered late.
    2. They ran on weekends even though it was not scheduled and not triggered from team.
    3. Job history is not getting updated when subscription run on weekend.
    Workarounds We Did but not solved:
    1. SQL Services restarted.
    2. SSRS restarted.
    3. Manually tested the Subscriptions.
    Please advise.
    Regards, Pradyothana DP. Please Mark This As Helpful if it helps to solve your issue. ========================================================== http://www.dbainhouse.blogspot.in/

    Hi Pradyothana,
    According to your description, the subscription doesn’t work fine when you migrate it from old server to a new server.
    In your scenario, please use code below to find the corresponding job of the subscription, then check if the schedule both in the subscription and the job is the same.
    use ReportServer;
    Go
    SELECT
    c.Name AS ReportName
    , rs.ScheduleID AS JOB_NAME
    , s.[Description]
    , s.LastStatus
    , s.LastRunTime
    FROM
    ReportServer..[Catalog] c
    JOIN ReportServer..Subscriptions s ON c.ItemID = s.Report_OID
    JOIN ReportServer..ReportSchedule rs ON c.ItemID = rs.ReportID
    AND rs.SubscriptionID = s.SubscriptionID
    Besides, since you mentioned the email will be delivered on weekends though it hasn’t been scheduled, you could use Reporting Services trace Log File to find which schedule deliveries this report. Please refer to this article:
    Troubleshooting Subscriptions: Part II, Using the Reporting Services Trace Log File  .
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • SSRS Subscription LastStatus "Failure sending mail: Failure sending mail."

    SSRS 2012, SQL 2012 SP2. 
    We have about 50 different daily subscriptions that go out.  In the last month or so, probably over 30% of SSRS subscriptions are getting this error and no e-mail is sent.  I have tested out the reports with the parameters and the reports run just
    fine on demand for both the user and myself.  I'll change the subscription forward for testing, and it will intermittently work or fail even when no traffic is hitting our database so I dont think it's a matter of performance. 
    I see nothing in the error logs, and I see nothing in the logtable 2, or 3 in ssrs as suggested by a few MSDB sites.
    The only spot I can even see this error, is when viewing the subscription. I have done LOTS of searching, and most people get a helpful error after "Failure sending mail" where as I only get 'Failure sending mail: Failure sending mail"

    Hi,
    Does your network is always available? Your scenario is so strange. Please check if you have missed something according to this article:
    https://msdn.microsoft.com/en-us/library/ms159155.aspx.

  • Issue in To: field on SSRS Subscriptions

    Greetings!
    Our organization just recently migrated to a new Microsoft Exchange server, at almost the exact same time as the workstations were upgraded to Windows 2013 and Office 2013. After the upgrade an issue with our SSRS Report subscriptions was discovered. 
    Report subscriptions that had been running fine prior, suddenly were failing.  We were eventually able to figure out that if you entered just one email address in the To/CC/BCC fields it worked fine.  As soon as you enter more than 1 email address
    in any of those three fields, the email errors with 'The email address of one or more recipients is not valid'.  We can take the exact same TO:  line out of the Subscription line and paste it into Outlook and it works fine, so the address is valid. 
    It is just that after the first email address, It does not seem to recognize any additional addresses.  Then I was examining the error message and noticed that when returned the to: line in the error message is this '[email protected], [email protected]'. 
    I know for SSRS subscriptions, email addresses need to be separated by semi colons so I check the subscription, and indeed there are semi colons in the subscription.
    Does anyone have any idea what the issue here might be and how I can fix it before my users riot on me?

    Hi SSRSnewbie,
    As per my understanding, I think this issue can be caused by incorrect email relay setting between the SMTP server and the report server. In order to troubleshoot this issue, the following suggestions are for your reference:
    Suggestion1:
    Please make sure there is no space between an email address and the semi-colon, and add a space between the semi-colon and the email address behind it. For example, try the below:
    [email protected];
    [email protected]
    Suggestion 2:
    Double check whether the configuration options for SMTP service is correct, please using the settings mentioned as below:
    http://technet.microsoft.com/en-us/library/ms159155.aspx
    If the issue is still existed, could you please post the settings in the RSreportserver.config file for SMTP server? Then we can make further analysis.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • SSRS subscriptions in default zone of sharepoint 2013 are not showing in intranet zone and vice versa.

    one of the Sharepoint 2013 site collection has alternate access mappings created. Default site is .com and intranet is .local.
    So when we add SSRS subscription in .com - they are not showing in .local and vice- versa. How do we fix this so the subscriptions are same in both .com and .local.

    Hi spanda,
    Per my understanding that you have configured the alternate access mappings which Default site is .com and intranet is .local. But the subscription in one of the site will not list in another mapped site, right?
    Actually, if you are on a different Alternate Access Mapping other than the Subscription was created on, we will get no subscriptions, Because we are using the method "Microsoft.ReportServices.SharePoint.UI.ManageSubscriptionPages"
    to deal with the logic by creating the value for "m_reportUrl" using the current context of the URL the user is using and passing that to the "SubscriptionListControl".  You can find the code in this article if you have some
    knowledge of development:
    SQL Server Reporting Services ignores Alternate Access Mappings When Checking for Report Subscriptions
    I recommand you to submit an feedback at
    https://connect.microsoft.com/SQLServer/
    If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next SQL Server version. Your feedback is valuable for us to improve our products and increase the level of service
    provided.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Email Recipient limits on SSRS Subscriptions - SharePoint Integrated mode

    Hi I hope this is the right forum to post this question in.
    I have had a requirement to setup our users to be able to create and manage there own mail delivery SSRS subscriptions, this is not a problem. However I have been asked to set a limit on the number of recipients they can specify in the "To" field,
    and I am not sure how to do this.
    We are running in SharePoint integrated mode (SharePoint 2010), with SSRS 2008 R2 and I cant find anywhere that I would set this up..... I have had a look through the rsreportserver.config and unable to find any nodes that allow me to set a limit, nor
    have I been able to find it online. SharePoint doesnt seem to have anywhere to set this, and it seems to sit within SSRS.
    The nearest I have got is someone has suggested that it can be limited on Exchange, but before I go down that route I wanted to find out if it is possible in either SharePoint or SSRS.
    Could anybody offer some insight to this?
    Thanks
    Tim

    Hi Tim,
    As per my understanding, there is no maximum number of recipients per subscription limitation in Reporting Services. Just as you said, it depends on the SMTP server. For example, Exchange Server 2013 supports 500 recipients as the Recipient limit. This is
    the default limit for Exchange Server 2013 organizations. Administrators can change this value for their organization.
    References:
    Exchange Online Limits
    Subscription and Delivery (Reporting Services)
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Retrieve SSRS subscription info into SharePoint list

    Hello,
    Is there a solution to retrieve SSRS subscriptions info into a SharePoint list?  Through TSQL I can access and get this information but I was trying to placed the info into a SharePoint list.
    thank you.

    You can get it through a web service. Here is how it is done via PowerShell:
    http://thesharepointfarm.com/2013/12/quickly-identifying-reporting-services-subscriptions/
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Problem with BLANK Value in SSRS Subscription

    I have a report that I designed in Vis Studio 2005 and have deployed to SSRS 2005.  I have no issues what so ever when running it interactively out of Report Manager.  However when running it scheduled via a subscription, I am running into trouble.
    This report has a parameter called "Label".  It is set up as a String parameter, Allow Blanks, and Multi-Value.  (It does not allow me to select Null values...tells me "The properties for the currently selected item are not valid.")  I am getting Available and Default values from a query I have created in a separate dataset.  This query pulls in all possible values for Label, including a BLANK value (there are values that are and should be Blank).
    In my subscription, I want to select all Labels but label 98, including the BLANK.  So when I go in to create or edit a subscription, I simply uncheck the 98 label.  I can see a blank checked as well.  However when the subscription runs, the subscription status tells me " Failure sending mail: Default value or value provided for the report parameter 'Label' is not a valid value."   This ONLY occurs when I have the BLANK label selected in my dropdown list!
    However, when I run this interactively out of Report Manager, doing the exact same thing (selecting all labels other than label 98, INCLUDING the Blank), it works properly.
    What could be going on here?  Kinda new at this and totally stumped.
    Tony

    Hi Tony,
    I met a similar issue before. If I understand correctly, there has Null values in the list not Blank values.
    Using Null values in a parameter in subscription is not allowed.
    To solve the issue, please change the Null values to Blank values by modifying the query statement of report:
    SELECT ... IsNull(column, "") FROM...
    By the way, please update the SQL Server Reporting Services to latest version too.
    For SQL Server 2005, the latest version is Cumulative Update package 6 for SQL Server 2005 SP3.
    SQL Server 2005 SP3: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=ae7387c3-348c-4faa-8ae5-949fdfbe59c4
    Cumulative Update #6 for SQL Server 2005 Service Pack 3
    For SQL Server 2008, the latest version is Cumulative Update package 4 for SQL Server 2008 SP1.
    SQL Server 2008 SP1: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=66ab3dbb-bf3e-4f46-9559-ccc6a4f9dc19
    Cumulative Update #4 for SQL Server 2008 SP1
    Please feel free to ask, if you have any more questions.
    Thanks,
    Jin ChenJin Chen - MSFT

  • SSRS subscription issue

    We use some reports in SCSM (standard and custom). About week ago one of custom reports lost formatting when send to e-mail in MHTML format. We didn't modify this report before issue.
    Report display correctly:
    1. In the SCSM console.
    2. In the SSRS web interface.
    3. In the e-mail when format isn't MHTML (report is attached to message)
    4. In any supported format (including MHTML) after manual export.
    5. In any supported format (including MHTML) when report is sent to SMB share by subscription.
    Report display incorrectly (as plain text without images and formats) only when it is sent in MHTML format by e-mail subscription.
    SSRS 2012 SP1.

    Hi Roman1974,
    Do you use embedded charts within in tablix? If so, please try to insert rectangles into the tablix before inserting charts.
    Which browser do you use to view the subscription? Some browsers may not perfectly support the MHTML format. You can test the issue using Internet Explorer.
    As a workaround, you can enable HTML 4.0 format for subscription and configure subscriptions to use this format instead of MHTML. To do this, please remove "Visible="false" for the HTML4.0 rendering extension in the RSreportserver.config file:
    <Extension Name="HTML4.0" Type="Microsoft.ReportingServices.Rendering.HtmlRenderer.Html40RenderingExtension,Microsoft.ReportingServices.HtmlRendering" Visible="false"/>
    <Extension Name="MHTML" Type="Microsoft.ReportingServices.Rendering.HtmlRenderer.MHtmlRenderingExtension,Microsoft.ReportingServices.HtmlRendering"/>
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • SSRS Subscription Problem

    Hi,
    I have scheduled some report in SSRS ( SQL Server 2008 R2) , reports are generated at midnight and saved in a shared folder. It works fine generally, but  On some days it fails,  Job history shows success, but, files are not saved in shared folder.
    What can be possible reason . Kindly help.
    Thanking you in advance.
    Regards,
    Ram

    Hi Ramprosad,
    Based on the current description, I suggest you checking Event table in ReportServer database. If the Event table has no null values, it indicates the subscription data cannot delivery successfully. In this case, please manually restart Agent Job and Reporting
    Services. If it’s not the case, please post the log file to the forum for further analysis.
    Hope this helps.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • SSRS Subscription - Email does not appear in the list

    Hi!
    I had some reports on ssrs and I want to send them by email. I've read that the option "email" shoul appear on the list "Delivered by".Does anyone knows why
    IT DOES NOT APPEAR (edited)?
    Thanks
    <edit2>I'm using SQL Server 2012 BI Edition & Microsoft Visual Studio 2008 running on Microsoft Windows Server 2008 R2</edit2>

    Hi Menri,
    According to the code you post, I find that there are some incorrect settings in your rsreportserver.config file. For more details, please see the followings:
    SMTPServerPort: Specifies an integer value indicating the port on which the SMTP service uses to send outgoing mail. Port 25 is typically used to send e-mail. So we should set this value to 25.
    SMTPAuthenticate: Specifies how the report server connects to the remote SMTP server. To send e-mail to restricted distribution lists (for example, distribution lists that accept incoming messages only from authenticated accounts), set SMTPAuthenticate
    to 2.
    SendEmailToUserAlias: When SendEmailToUserAlias is set to True, users who define individual subscriptions are automatically specified as recipients of the report. The To field is hidden. If this value is False, the To field is visible.
    DefaultHostName: This value works with SendEmailToUserAlias. Specifies a string value indicating the host name to append to the user alias when the SendEmailToUserAlias is set to true.
    The code in my environment is for your reference:
    <Extension Name="Report Server Email" Type="Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider,ReportingServicesEmailDeliveryProvider">
    <MaxRetries>3</MaxRetries>
    <SecondsBeforeRetry>900</SecondsBeforeRetry>
    <Configuration>
    <RSEmailDPConfiguration>
    <SMTPServer> smtp.gmail.com</SMTPServer>
    <SMTPServerPort>25</SMTPServerPort>
    <SMTPAccountName>
    </SMTPAccountName>
    <SMTPConnectionTimeout>
    </SMTPConnectionTimeout>
    <SMTPServerPickupDirectory>
    </SMTPServerPickupDirectory>
    <SMTPUseSSL>
    </SMTPUseSSL>
    <SendUsing>2</SendUsing>
    <SMTPAuthenticate>2</SMTPAuthenticate>
    <From> [email protected]</From>
    <EmbeddedRenderFormats>
    <RenderingExtension>MHTML</RenderingExtension>
    </EmbeddedRenderFormats>
    <PrivilegedUserRenderFormats>
    </PrivilegedUserRenderFormats>
    <ExcludedRenderFormats>
    <RenderingExtension>HTMLOWC</RenderingExtension>
    <RenderingExtension>NULL</RenderingExtension>
    <RenderingExtension>RGDI</RenderingExtension>
    </ExcludedRenderFormats>
    <SendEmailToUserAlias>False</SendEmailToUserAlias>
    <DefaultHostName>smtp.gmail.com</DefaultHostName>
    <PermittedHosts>
    </PermittedHosts>
    </RSEmailDPConfiguration>
    </Configuration>
    Please refer to the helpful documents below:
    http://technet.microsoft.com/en-us/library/ms159155.aspx
    http://msdn.microsoft.com/en-us/library/ms157273.aspx
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Default Date Parameters for SSRS Subscription

    I have a SSRS 2008 R2 report running on a Sharepoint 2010 site.
    It has two date parameters (Beginning and Ending Date).
    The defaults of these dates are calculated correctly when running interactively.
    For example:
    =DateAdd("d",-28, Today)
    =DateAdd("d",-1, Today)
    However, when you create a subscription the defaults are based on when the report is submitted and not when the report is executed.
    Is there anyway to set a subscription to pull the default parameters every time when executed.
    Thanks in advance.

    Hi miguelh,
    Based on my research, if we specified the report parameters with “Use Report Default Value” is checked in the subscription, we could get the report from this subscription with the default value. The default values are based on the expression when the subscription
    is executed, rather than the time when we create the subscription. If today is 7/21/2014, the Beginning Date is 6/23/2014, Ending Date is 7/20/2014.
    So, please double check you have typed the expressions as the default values in the two date parameters and we have select the “Use Report Default Value” as the parameter values when creating the subscription .
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • SSRS Subscription Error (rsInvalidDataSourceCredentialSetting)

    Hi,
    I just started using SSRS using SQL Server 2005. I've created several reports and have deployed these reports so they are available to use in Report Manager. I started playing around with subscriptions hoping to automate and schedule printouts for my end-users.
    I am trying to subscribe to this one report and have filled in the necessary fields in the subscription page but after getting everything filled in, when I hit OK, I get the ff msg - "The current action cannot be completed because the user data source credentials
    that are required to execute this report are not stored in the report server database. (rsInvalidDataSourceCredentialSetting)". I've looked this up online and found a Microsoft Technet page on changing the setting of the data source I'm using and is as follows
    1.Go to the Data Sources properties page of the report that you want to automate.
    2.For the Connect Using option, select Credentials stored securely in the report server.
    3.In User Name and Password, type credentials that can be used to access the database. If you are using SQL Server as the data source, the user name must be valid for both logging on to the server and for accessing the database that contains the data for the
    report.
    4.If the user name and password are credentials for a Windows account, select Use as Windows Credentials. If the credentials are for a SQL Server user login, do not select this check box.
    I have also tried using Credentials are not required. I have followed these tips and made the changes to my data source but I still get the same error msg.
    Any help will be greatly appreciated. Thanks.

    If the credentials options are set to "none" - no credentials are required, then you need to go into the Reporting Services Configuration Manager and set the Unattended Execution Account.  Otherwise, you should set the data sources to have stored credentials. 
    After that the only other cause of problems with subscriptions is if your report uses User!UserID - in RS 2005 and earlier we were very restrictive around the use of this property in subscriptions.  As we have reviewed usage and scenariso, we have progressively
    allowed more use of it.
    I recomment trying to narrow down which data source is causing the trouble by eleminating data sources from the report and creating subscriptions to them...
    You may find more infomration in the report server trace log files which could narrow down the source of the problem.
    Hope this helps,
    -Lukasz
    Got a bug or feature request? Tell me about it at http://connect.microsoft.com. This posting is provided "AS IS" with no warranties, and confers no rights.

  • SSRS Subscription.

    Hi,
    In my old scenario the report subscriptions are trigger from JOB from SQL name as
    "sp_start_job" and after trigger happen subscription will be done the file generated in path. Here  don't have input parameters. This job will be handled from within procedure.
    Now i have new scenario have to pass the parameter to rdl file generate the subscriptions using job
    "sp_start_job" .
    Please tell me the possible ways to proceed the trigger the subscriptions with input parameters.
    Please do the needful.
    Thanks in Advance.
    SaravananArunachalam

    You should be using data driven subscriptions if you want parameters to be passed to report while publishing. This will give you opportunity to set parameter values through a table which will be retrieved through query and report will get published based
    on it
    this will give you a good overview
    http://www.databasejournal.com/features/mssql/data-driven-subscription-in-ssrs-2008-r2.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Maybe you are looking for

  • Photos are not displayed in events/faces/photos but do when magnified

    I just reinstalled my OS from 10.6 back to 10.5 (software compatibility). When I imported my iphoto library which I had backed up, everything imported, but I cannot see any of the pictures unless I double-click to magnify. I can see the white dashed

  • Open URL; constraining window that opens

    Here is my challenge: I want to link to another project and have that project open in a new window. Is there a way within Captivate 3 that allows me to constrain those features in the new window that is going to open? In non-Captivate instances, when

  • Will app sizes increase across the board because of the new iPad?

    After the release of the new iPad on Wednesday, most apps figure to update their capabilities accommodate the new iPad's boosted resolution. And it appears that this process will result in an appreciable - if not significant - increase in app size. F

  • Audio CD Burning with itunes

    I am using the Mac OS X 10.5.6 Using the itunes 6 (6.0.5) I have set the payback crossfade to my liking & it works great as a jukebox if U like But.... Can I do the same cross fade in the CD audio burning process????

  • Correct term for the Safe attribute in creating New Managed Property

    Hi, I'm creating a new managed property through Powershell and XML. I need to set the Safe attribute to true. Do you know the correct term for the Safe attribute? I have tried "Safe" and "SafeForAnonymous" but still didn't worked. <Property ManagedNa