SSRS Data Driven Subscription Split Report on Email

I have a requirement to email an SSRS report to each of the individual emails referenced in the report.
Think of it is as a mail merge wherein there are 5 persons receiving the report.The Current SSRS Report contains 5 Letters. The Email Subscription dataset is identical to the one upon which the report is based and works as expected. The problem is that currently
it is sending the ENTIRE report to each email rather than sending only the report that corresponds to the applicable email ( I have heard this referred to as bursting the report).
Is there some setting that I may be missing? How can this be achieved?
Again I have Info
Report A
(user1 info, User 1 Email
User2 info---------------BEING EMAILED TO ---------->        User 2 email
User3 info User 3 email
User4 info User 4 email
User5 ) User 5 email
And I want
Report A
(user1 info--------------BEING EMAILED TO ----------> User 1 Email
User2 info---------------BEING EMAILED TO ----------> User 2 email
User3 info --------------BEING EMAILED TO ----------> User 3 email
User4 info --------------BEING EMAILED TO ----------> User 4 email
User5 info --------------BEING EMAILED TO ----------> User 5 email

Hi Garrett_ll,
After testing the issue in my local environment, we can refer to the steps below to achieve your requirement:
We should add a parameter named User in the report use User field as Available Values.
Add a filter as below in the corresponding tablix:
Expression: [User]
Operator: =
Value: [@User]
Deploy the Report to report server.
During the data-driven subscription, in the step 4 (Specify delivery extension settings for Report Server Email). Below “To” option, select “Get the value from the database”, then select User field.
In the step 5, we can configure report parameter “Get the value from the database”, then select User field.
The following article about Create a Data-Driven Subscription, you can refer to it.
http://technet.microsoft.com/en-us/library/ms169673.aspx
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • Pause Issue:-- SSRS Data Driven Subscription

    I have setup SSRS data driven subscription and it run successfully without any error but something that i noticed, i wanted to know why it happened and how can we prevent?
    1. when i check status bar every 10 sec, after generating some reports, its stays at some count numbers and dont move and suddenly it will move and finish the process without any errors, why pause?
    2. if my data driven subscription run successfully for 1900 reports and fail for 100 reports, how can i manually find 100 errored report and run it manually?
    3. In the database, is there any way we can get detailed about processing or error info other than log tables in reportserver db?
    Thank you for help!

    Hi SQL—DBA,
    1. when i check status bar every 10 sec, after generating some reports, its stays at some count numbers and dont move and suddenly it will move and finish the process without any errors, why pause?
    In Reporting Services, status messages within the subscription page are updated when the subscription is scheduled to process. If the trigger never occurs, the status message will not be updated. For more information, please refer to this article:
    Monitor Reporting Services Subscriptions.
    2. if my data driven subscription run successfully for 1900 reports and fail for 100 reports, how can i manually find 100 errored report and run it manually?
    In this scenario, you can run the query to find the failed subscription information from the database which we have setup for Reporting Services. Please refer to this article:
    SSRS Failed Subscription Notifications.
    Then you can execute the code with jobstep command to find the corresponding SQL Agent Jobs for failed subscription, then execute the job to send the email again. Please refer to this article:
    Re-running SSRS subscription jobs that have failed.
    3. In the database, is there any way we can get detailed about processing or error info other than log tables in reportserver db?
    In this scenario, you can check the subscription table from the ReportServer database to find the status and error message of subscriptions. If we want to trouble subscriptions, I would like to suggest you use the Reporting Services Trace Log File. For more
    information, 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 Data Driven Subscription - Analysis Services OLE DB Provider Not Recent Enough

    We are creating  new SSRS Data Driven Subscription. After entering the command query (which has been tested and is valid) we are getting the following error when the wizard validates the query in step 3:
    The dataset cannot be generated. An error occurred while connecting to a data source, or the query is not valid for the data source. (rsCannotPrepareQuery). The current version of Analysis Services OLE DB Provider is not recent enough to perform
    this check.
    The data source involved and the query are all working as we have reports running on this server that use this data source. We've looked into the OLE DB Provider and both the SSAS server and the SSRS server (they are on different servers) appear to have
    the same versions installed. Both the SSRS and SSAS servers are running SQL 2012 SP2.
    Any suggestions would be appreciated as I haven't had much success locating the cause.

    Hi Tymbow,
    Per my understanding that you got the error message in the step3 when creating the DataDriven Subscription, right?
    I have checked the error message and as you have mentioned that other reports which have the same connection string works fine in report server, so the issue can be cause by the query you are using in the step3 is not correct, sometimes although it
    will work in database or in the desginer, it will have some limitation in the commend query.
    Please provide the connection string you are using and also the commend query to help us better understanding of the issue.
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • SSRS Data Driven Subscription Done: 9 processed of 9 total; 9 errors.

    Getting this error when running a data driven subscription on SQL Server 2008R2, Server is Windows Server 2008R2. Looked at the following.
    Report takes no parameters and I can view it/export it just fine from the report server website.
    I can run the query used in the data driven query to list emails/etc.
    I verified no errors in the SSRS Execution Log Table (all rsSuccess)
    Log File from SSRS shows what looks to be proper execution
    From the SSRS box I can telnet port 25 to the smtp mail server we are using for sending emails. (below)
    Report has been running daily for ~3 monthes.
    Nothing obvious in the Event Log.
    Anyone have any other thoughts on a place to check?
    library!WindowsService_6!978!06/09/2014-14:22:30:: i INFO: Schedule 84906a6d-12c4-4910-b032-276b736c309a executed at 06/09/2014 14:22:30.
    schedule!WindowsService_6!978!06/09/2014-14:22:30:: Creating Time based subscription notification for subscription: 2b9abd3c-35ef-49b4-8706-3412620e650b
    library!WindowsService_6!978!06/09/2014-14:22:30:: i INFO: Schedule 84906a6d-12c4-4910-b032-276b736c309a execution completed at 06/09/2014 14:22:30.
    library!WindowsService_6!c74!06/09/2014-14:22:31:: i INFO: RenderForNewSession('/Transactions/facl_trans_rpt_inventory_npr')
    library!WindowsService_6!9e0!06/09/2014-14:22:31:: i INFO: RenderForNewSession('/Transactions/facl_trans_rpt_inventory_npr')
    library!WindowsService_6!c0c!06/09/2014-14:22:31:: i INFO: RenderForNewSession('/Transactions/facl_trans_rpt_inventory_npr')
    library!WindowsService_6!518!06/09/2014-14:22:31:: i INFO: RenderForNewSession('/Transactions/facl_trans_rpt_inventory_npr')
    library!WindowsService_6!cec!06/09/2014-14:22:31:: i INFO: RenderForNewSession('/Transactions/facl_trans_rpt_inventory_npr')
    library!WindowsService_6!db8!06/09/2014-14:22:31:: i INFO: RenderForNewSession('/Transactions/facl_trans_rpt_inventory_npr')
    library!WindowsService_6!a34!06/09/2014-14:22:31:: i INFO: RenderForNewSession('/Transactions/facl_trans_rpt_inventory_npr')
    library!WindowsService_6!dbc!06/09/2014-14:22:31:: i INFO: RenderForNewSession('/Transactions/facl_trans_rpt_inventory_npr')
    library!WindowsService_6!a34!06/09/2014-14:22:32:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
    library!WindowsService_6!db8!06/09/2014-14:22:32:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
    library!WindowsService_6!cec!06/09/2014-14:22:32:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
    library!WindowsService_6!c0c!06/09/2014-14:22:32:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
    library!WindowsService_6!dbc!06/09/2014-14:22:32:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
    library!WindowsService_6!c74!06/09/2014-14:22:32:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
    library!WindowsService_6!518!06/09/2014-14:22:32:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
    library!WindowsService_6!9e0!06/09/2014-14:22:32:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.

    Hi,
    You can check the below blogs for troubleshooting subscriptions. Find the Schedule ID of the most recent subscription by querying the ReportServer database and search for the Schedule ID in your Trace Log to find the relative error message.
    Monitoring and Troubleshooting Subscriptions
    http://blogs.msdn.com/b/deanka/archive/2009/01/13/diagnosing-and-troubleshooting-subscriptions.aspx
    Troubleshooting Subscriptions: Part II, Using the Reporting ...
    http://blogs.msdn.com/b/deanka/archive/2010/02/16/troubleshooting-subscriptions-part-ii-using-the-report-services-trace-log-file.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • How would I implement something similar to SSRS data driven subscriptions in CRM 2015 Online?

    Requirement: Generate Report and send specific pricing information to a list of contacts based on field value.
    I'm new to CRM, but am well versed in SSRS and I'm looking to understand:
    1. Is it possible to create something like a data driven subscription in CRM?
    Everything I've looked at is from years ago, and I'm just looking for some high level directions I can pursue in order to fulfill this requirement.
    Thanks!

    Did you notice the difference between your image and theirs. Their image has a coordinate grid. This coordinate grid can be used to determine size, location of pixels, etc...
    If you add a grid, when you process the image, find the grid, then find the coordinate markings, then find the pixels in relation to these coordinate marking creating an internal buffer of the image.
    ie: have 0=white 1=black 2=grid 3=coordinate marking and make an internall representation of your image
    011002300000
    001002201000
    011102300010
    323232232323
    222222222222
    001002310000
    000102200100
    010002301000
    Just an idea, but look into the coordinate grid it may be the key to why they can process their image.
    DeltaCoder

  • SSRS Data Driven Subscription Management Questions

    I have two questions on data driven subscriptions in SSRS 2012 Enterprise Edition
    1) Is there a limit to how many can run at a time?  The reason I am asking is that yesterday we had a very large subscription running and we had several others waiting to run,  We waited for about 8 hours before they actually ran.  There was
    plenty of resource on the Oracle database server and plenty of resource on the reporting server, I am wondering if there is a limit that I can increase to the number of jobs that can run at a given time?
    2) My second question has to do with how to stop a data driven subscription?  We tried everything from rebooting the SSRS server, to stopping the SQL Server Agent Job, to identifying the process on the database server and nothing stopped the job from
    running.  How do I do stop a job?
    Thank you

    Hi Sql Dude,
    1) Is there a limit to how many can run at a time?  The reason I am asking is that yesterday we had a very large subscription running and we had several others waiting to run, 
    We waited for about 8 hours before they actually ran.  There was plenty of resource on the Oracle database server and plenty of resource on the reporting server, I am wondering if there is a limit that I can increase to the number of
    jobs that can run at a given time?
    In Reporting Services, there is a setting in RSReportServer.config file called MaxQueueThreads. It specifies the number of threads used by the Report Server Windows service for concurrent processing of subscriptions and notifications. By default, the value
    is 0. Also you can specify the value for this setting. For more information, please refer to this article:
    MaxQueueThreads.
    2) My second question has to do with how to stop a data driven subscription? 
    We tried everything from rebooting the SSRS server, to stopping the SQL Server Agent Job, to identifying the process on the database server and nothing stopped the job from running. 
    How do I do stop a job?
    In Reporting Services, we can’t pause a subscription directly. But we can interrupt the subscription processing ahead of the processing starting or connecting to the data source successfully. In your scenario, you can disable a shared data source so that
    the data source is unavailable for the report. Or you can pause the schedule to prevent processing. For more information, please refer to this article:
    Pause Report and Subscription Processing.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • No email attachments to Document library when using data driven subscriptions

    We have recently migrated to SharePoint 2013 and setup document libraries to publish reports to.
    When we send an email with an attachment to the document library from a users mailbox, the document library acts as expected and detaches the email and publishes it to a subfolder inside the library. However when we schedule reports using data driven subscriptions
    and add the email address as a CC, the subfolder gets created but there is no attachment.
    What could cause this issue?
    Thanks for your time

    Hi WFN_Will,
    regarding this issue, we don't know for sure, unless we trace the process,
    do the attachment is not there, or when the attachment there the process was failed, or the target not able to receive the attachment?
    from the description, seems the target and the process of receiving the attachment is ok, I guess you can start to check from this part:
    https://sharepointstuff.codeplex.com/workitem/2894
    http://msdn.microsoft.com/en-us/library/ms154050.aspx
    http://technet.microsoft.com/en-us/library/ms159150.aspx
    http://technet.microsoft.com/en-us/library/cc262947.aspx
    http://manomangaldas.blogspot.in/2008/04/send-email-with-attachments-in.html
    to ensure that the attachment is there.
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to pass the multiplevalue parameter into SSRS by data driven subscription

    Hi All,
    I create a table and show it in the SSRS by table
    EmID Name
    AA1, A
    BB1, C
    CC1, E
    And set one parameter EmID for the user to filter the record and that Parameter Accept multiple values and the type is text.
    And I create a another table for the data-driven subscription to send the report to user by email.
    EmailTitle EmID  EmailComment
    TestEmail  AA1,BB1,CC1    TestComment
    And I set the subscription and set the EmID parameter is from EmID column, then test the subscription, it failed...
    However, when I only put AA1 into the table, then the subscription works well
    EmailTitle EmID  EmailComment
    TestEmail  AA1    TestComment
    So How I can config the above table to support subscription?
    Thanks.

    Hi Bimaster,
    When specify a column for the parameter value in a data-driven subscription, it will be regarded as a single value. So when specify the value "AA1,BB1,CC1" as the parameter value, the subscription will fail.
    The work around for this issue clear the "Allow multiple values" for the report parameter, and then change the filter
    From
    Expression:[ParameterName]
    Operator   :In
    Value         :[@ParameterName]
    To
    Expression:[ParameterName]
    Operator   :In
    Value         :Split(Parameters!ParameterName.Value,",")
    In this case, we can specify a value like "AA1,BB1,CC1" from database to the data-driven subscription. I have tested it on my local host environment, it works fine.
    Regards
    Charlie Liao
    TechNet Community Support

  • Data-driven Subscription doesnt send out an email but job history shows its successfull

    Hi All
    Please give me some advice about this Data-driven Subscription runs every hour misses out once or twice a day, but the subscription job history shows it ran sucessfull but it doesnt trigger the e-mail out.
    Is there a way to check on subscription logs that SSRS has triggered the report out to the e-mail server.
    Is there a way to add add logs for the e-mail part to make sure it has sent out the email ?
    Nothing in the E-mail server logs to show this report email was requested / delivered / rejected by it.
    So - Kindy advice me how can I proceed my findings on this.
    Thanks a lot in advance.

    Report Server Service logs below
    ReportingServicesService!dbpolling!11!30/10/2014-22:37:10:: i INFO: EventPolling processing 1 more items. 1 Total items in internal queue.
    ReportingServicesService!dbpolling!e!30/10/2014-22:37:10:: i INFO: EventPolling processing item 1f4ae9bb-5283-4756-866b-e794ddb8fc75
    ReportingServicesService!library!e!30/10/2014-22:37:13:: i INFO: Schedule 88486172-a685-428a-a138-cc1efd7d16f8 executed at 30/10/2014 22:37:13.
    ReportingServicesService!schedule!e!30/10/2014-22:37:13:: Creating Time based subscription notification for subscription: 859722ed-ab17-4357-8bab-5c068ede6366
    ReportingServicesService!library!e!30/10/2014-22:37:13:: i INFO: Schedule 88486172-a685-428a-a138-cc1efd7d16f8 execution completed at 30/10/2014 22:37:13.
    ReportingServicesService!dbpolling!e!30/10/2014-22:37:16:: i INFO: EventPolling finished processing item 1f4ae9bb-5283-4756-866b-e794ddb8fc75
    ReportingServicesService!dbpolling!11!30/10/2014-22:37:16:: i INFO: EventPolling processing 1 more items. 1 Total items in internal queue.
    ReportingServicesService!dbpolling!e!30/10/2014-22:37:16:: i INFO: EventPolling processing item 17027403-5870-487b-93ab-f8d54a646b77
    ReportingServicesService!dbpolling!e!30/10/2014-22:37:17:: i INFO: EventPolling finished processing item 17027403-5870-487b-93ab-f8d54a646b77
    ReportingServicesService!dbpolling!11!30/10/2014-22:37:22:: i INFO: NotificationPolling processing 1 more items. 1 Total items in internal queue.
    ReportingServicesService!dbpolling!3!30/10/2014-22:37:22:: i INFO: NotificationPolling processing item faac99a8-48a2-4262-b699-f798589a2ecc
    ReportingServicesService!library!3!10/30/2014-22:37:22:: i INFO: Call to RenderFirst( '/Narrowcaster_SSRS/9105 - ALERT - Negative Margin by Destination Account' )
    ReportingServicesService!runningjobs!e!30/10/2014-22:37:59:: i INFO: Adding: 1 running jobs to the database
    ReportingServicesService!processing!3!30/10/2014-22:38:31:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for data set 'SSRSSRV02_interface'., ;
     Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for data set 'SSRSSRV02_interface'. ---> System.Data.SqlClient.SqlException: Timeout expired.  The timeout period elapsed prior to completion
    of the operation or the server is not responding.
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
       at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadPacket(Int32 bytesExpected)
       at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
       at System.Data.SqlClient.TdsParserStateObject.ReadByte()
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
       at System.Data.SqlClient.SqlDataReader.get_MetaData()
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
       at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
       at Microsoft.ReportingServices.DataExtensions.SqlCommandWrapperExtension.ExecuteReader(CommandBehavior behavior)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.RunDataSetQuery()
       --- End of inner exception stack trace ---
    ReportingServicesService!processing!3!30/10/2014-22:38:31:: e ERROR: An exception has occurred in data source 'SSRSSRV02_interface'. Details: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for data set 'SSRSSRV02_interface'.
    ---> System.Data.SqlClient.SqlException: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
       at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadPacket(Int32 bytesExpected)
       at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
       at System.Data.SqlClient.TdsParserStateObject.ReadByte()
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
       at System.Data.SqlClient.SqlDataReader.get_MetaData()
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
       at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
       at Microsoft.ReportingServices.DataExtensions.SqlCommandWrapperExtension.ExecuteReader(CommandBehavior behavior)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.RunDataSetQuery()
       --- End of inner exception stack trace ---
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.RunDataSetQuery()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeReportDataSetNode.FirstPassInit()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.FirstPassProcess(Boolean& closeConnWhenFinish)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeReportDataSetNode.Process()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.ProcessConcurrent(Object threadSet)
    ReportingServicesService!processing!3!30/10/2014-22:38:31:: i INFO: Merge abort handler called for ID=-1. Aborting data sources ...
    ReportingServicesService!dataextension!3!30/10/2014-22:38:31:: w WARN: CommandWrapper.Cancel not called, connection is not valid
    ReportingServicesService!processing!3!30/10/2014-22:38:31:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing., ;
     Info: Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for data set 'SSRSSRV02_interface'.
    ---> System.Data.SqlClient.SqlException: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
       at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadPacket(Int32 bytesExpected)
       at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
       at System.Data.SqlClient.TdsParserStateObject.ReadByte()
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
       at System.Data.SqlClient.SqlDataReader.get_MetaData()
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
       at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
       at Microsoft.ReportingServices.DataExtensions.SqlCommandWrapperExtension.ExecuteReader(CommandBehavior behavior)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.RunDataSetQuery()
       --- End of inner exception stack trace ---
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.RunDataSetQuery()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeReportDataSetNode.FirstPassInit()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.FirstPassProcess(Boolean& closeConnWhenFinish)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeReportDataSetNode.Process()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.ProcessConcurrent(Object threadSet)
       --- End of inner exception stack trace ---
    ReportingServicesService!processing!3!30/10/2014-22:38:31:: w WARN: Data source 'SSRSSRV02_interface': Report processing has been aborted.
    ReportingServicesService!processing!3!30/10/2014-22:38:31:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing., ;
     Info: Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for data set 'SSRSSRV02_interface'.
    ---> System.Data.SqlClient.SqlException: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
       at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadPacket(Int32 bytesExpected)
       at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
       at System.Data.SqlClient.TdsParserStateObject.ReadByte()
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
       at System.Data.SqlClient.SqlDataReader.get_MetaData()
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
       at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
       at Microsoft.ReportingServices.DataExtensions.SqlCommandWrapperExtension.ExecuteReader(CommandBehavior behavior)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.RunDataSetQuery()
       --- End of inner exception stack trace ---
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.RunDataSetQuery()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeReportDataSetNode.FirstPassInit()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.FirstPassProcess(Boolean& closeConnWhenFinish)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeReportDataSetNode.Process()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.ProcessConcurrent(Object threadSet)
       --- End of inner exception stack trace ---
    ReportingServicesService!library!3!10/30/2014-22:38:31:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
    ReportingServicesService!emailextension!3!10/30/2014-22:38:33:: Error sending email. Microsoft.ReportingServices.Diagnostics.Utilities.RSException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException:
    An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for data set 'SSRSSRV02_interface'. ---> System.Data.SqlClient.SqlException: Timeout expired.  The
    timeout period elapsed prior to completion of the operation or the server is not responding.
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
       at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadPacket(Int32 bytesExpected)
       at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
       at System.Data.SqlClient.TdsParserStateObject.ReadByte()
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
       at System.Data.SqlClient.SqlDataReader.get_MetaData()
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
       at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
       at Microsoft.ReportingServices.DataExtensions.SqlCommandWrapperExtension.ExecuteReader(CommandBehavior behavior)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.RunDataSetQuery()
       --- End of inner exception stack trace ---
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.RunDataSetQuery()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeReportDataSetNode.FirstPassInit()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.FirstPassProcess(Boolean& closeConnWhenFinish)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeReportDataSetNode.Process()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.ProcessConcurrent(Object threadSet)
       --- End of inner exception stack trace ---
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ProcessingContext.AbortHelper.ThrowAbortException(Int32 reportUniqueName)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ProcessingContext.CheckAndThrowIfAborted()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.Merge.Process(ParameterInfoCollection parameters, Boolean mergeTran)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ProcessReport(Report report, ProcessingContext pc, ProcessingContext context)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ProcessReport(Report report, ProcessingContext pc, Boolean snapshotProcessing, Boolean processWithCachedData, GetReportChunk getChunkCallback, ErrorContext errorContext, DateTime
    executionTime, CreateReportChunk cacheDataCallback, ProcessingContext& context)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension renderer, DateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallback, ProcessingContext pc, RenderingContext rc, CreateReportChunk
    cacheDataCallback, Boolean& dataCached)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(DateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallback, ProcessingContext pc, RenderingContext rc)
       at Microsoft.ReportingServices.Library.RSService.RenderAsLive(CatalogItemContext reportContext, ItemProperties properties, ParameterInfoCollection effectiveParameters, Guid reportId, ClientRequest session, String description, ReportSnapshot intermediateSnapshot,
    DataSourceInfoCollection thisReportDataSources, Boolean cachingRequested, Boolean isLinkedReport, Warning[]& warnings, ReportSnapshot& resultSnapshotData, DateTime& executionDateTime, RuntimeDataSourceInfoCollection& alldataSources, UserProfileState&
    usedUserProfile)
       at Microsoft.ReportingServices.Library.RSService.RenderAsLiveOrSnapshot(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters)
       at Microsoft.ReportingServices.Library.RSService.RenderFirst(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)
       at Microsoft.ReportingServices.Library.RenderFirstCancelableStep.Execute()
       at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
       --- End of inner exception stack trace ---
       at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
       at Microsoft.ReportingServices.Library.RenderFirstCancelableStep.RenderFirst(RSService rs, CatalogItemContext reportContext, ClientRequest session, JobType type, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]&
    secondaryStreamNames)
       at Microsoft.ReportingServices.Library.ReportImpl.Render(String renderFormat, String deviceInfo)
       at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.ConstructMessageBody(IMessage message, Notification notification, SubscriptionData data)
       at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.CreateMessage(Notification notification)
       at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)
    ReportingServicesService!library!3!10/30/2014-22:38:33:: Data Driven Notification for activation id fb8257a8-85c2-4438-9eda-640f33e5e695 was saved.
    ReportingServicesService!library!3!10/30/2014-22:38:33:: Status: Failure sending mail: An error has occurred during report processing.
    ReportingServicesService!notification!3!10/30/2014-22:38:33:: Notification faac99a8-48a2-4262-b699-f798589a2ecc completed.  Success: False, Status: Failure sending mail: An error has occurred during report processing., DeliveryExtension: Report Server
    Email, Report: 9105 - ALERT - Negative Margin by Destination Account, Attempt 0
    ReportingServicesService!dbpolling!3!10/30/2014-22:38:34:: i INFO: NotificationPolling finished processing item faac99a8-48a2-4262-b699-f798589a2ecc
    ReportingServicesService!dbpolling!11!30/10/2014-22:40:17:: i INFO: EventPolling processing 1 more items. 1 Total items in internal queue.
    ReportingServicesService!dbpolling!3!30/10/2014-22:40:17:: i INFO: EventPolling processing item b6d83c57-cd6a-4950-a798-b36b66cbfc7a
    ReportingServicesService!library!3!30/10/2014-22:40:19:: i INFO: Schedule 8d08cd19-0c18-42ac-ae1c-68aafc695717 executed at 30/10/2014 22:40:19.
    ReportingServicesService!schedule!3!30/10/2014-22:40:19:: Creating Time based subscription notification for subscription: 907abd66-3757-43ef-9318-5446f200d58d
    ReportingServicesService!library!3!30/10/2014-22:40:19:: i INFO: Schedule 8d08cd19-0c18-42ac-ae1c-68aafc695717 execution completed at 30/10/2014 22:40:19.
    ReportingServicesService!dbpolling!3!30/10/2014-22:40:20:: i INFO: EventPolling finished processing item b6d83c57-cd6a-4950-a798-b36b66cbfc7a
    ReportingServicesService!dbpolling!11!30/10/2014-22:40:21:: i INFO: EventPolling processing 1 more items. 1 Total items in internal queue.
    ReportingServicesService!dbpolling!3!30/10/2014-22:40:21:: i INFO: EventPolling processing item 058c9023-65a2-4828-8575-8c569fc339bd
    ReportingServicesService!dbpolling!3!30/10/2014-22:40:22:: i INFO: EventPolling finished processing item 058c9023-65a2-4828-8575-8c569fc339bd
    ReportingServicesService!dbcleanup!16!30/10/2014-22:41:58:: e ERROR: Sql Error in CleanExpiredSessions: System.Data.SqlClient.SqlException: Cannot resolve the collation conflict between "Latin1_General_CI_AS_KS_WS" and "Latin1_General_CI_AS"
    in the equal to operation.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.ReportingServices.Library.InstrumentedSqlCommand.ExecuteNonQuery()
       at Microsoft.ReportingServices.Library.DatabaseSessionStorage.CleanExpiredSessions()
    ReportingServicesService!library!16!30/10/2014-22:42:41:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 21 snapshots, 78 chunks, 0 running jobs, 0 persisted streams
    ReportingServicesService!dbpolling!11!30/10/2014-22:45:07:: i INFO: EventPolling processing 1 more items. 1 Total items in internal queue.
    ReportingServicesService!dbpolling!e!30/10/2014-22:45:07:: i INFO: EventPolling processing item 44368d3b-66ac-4799-9c3e-606cb7cb637c

  • Is it possible to output a report as a text file (.txt) in a Data Driven Subscription?

    Is it possible to create a Data Driven Subscription report as a text file output to a shared folder? Thanks.
    Kahlua

    Hi Vicky:
    Thank you for your reply. I changed the config file in SSRS and it works. I managed to generate a text file with Data Driven Subscription as the report output in a shared folder. However is it possible not to have the "double quote" wrapping around
    the text. Do I need to modify the config file to remove the "double quote" and how. Thanks. 
    Kahlua
    <Render>
    <Extension Name="XML" Type="Microsoft.ReportingServices.Rendering.DataRenderer.XmlDataReport,Microsoft.ReportingServices.DataRendering"/>
    <Extension Name="NULL" Type="Microsoft.ReportingServices.Rendering.NullRenderer.NullReport,Microsoft.ReportingServices.NullRendering" Visible="False"/>
    <Extension Name="CSV" Type="Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering"/>
    <Extension Name="PDF" Type="Microsoft.ReportingServices.Rendering.ImageRenderer.PDFRenderer,Microsoft.ReportingServices.ImageRendering"/>
    <Extension Name="TAB" Type="Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering">
    <OverrideNames>
    <Name Language="en-US">TAB (Tab Delimited Text File)</Name>
    </OverrideNames>
    <Configuration>
    <DeviceInfo>
    <FieldDelimiter xml:space="preserve">[TAB]</FieldDelimiter>
    <UseFormattedValues>True</UseFormattedValues>
    <NoHeader>True</NoHeader>
    <FileExtension>txt</FileExtension>
    <Qualifier xml:space="preserve"></Qualifier>
    <ExcelMode>False</ExcelMode>
    </DeviceInfo>
    </Configuration>
    </Extension>
    <Extension Name="RGDI" Type="Microsoft.ReportingServices.Rendering.ImageRenderer.RGDIRenderer,Microsoft.ReportingServices.ImageRendering" Visible="False" LogAllExecutionRequests="False"/>
    <Extension Name="HTML4.0" Type="Microsoft.ReportingServices.Rendering.HtmlRenderer.Html40RenderingExtension,Microsoft.ReportingServices.HtmlRendering" Visible="False" LogAllExecutionRequests="False"/>
    <Extension Name="MHTML" Type="Microsoft.ReportingServices.Rendering.HtmlRenderer.MHtmlRenderingExtension,Microsoft.ReportingServices.HtmlRendering"/>
    <Extension Name="EXCEL" Type="Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer,Microsoft.ReportingServices.ExcelRendering"/>
    <Extension Name="RPL" Type="Microsoft.ReportingServices.Rendering.RPLRendering.RPLRenderer,Microsoft.ReportingServices.RPLRendering" Visible="false" LogAllExecutionRequests="false"/>
    <Extension Name="IMAGE" Type="Microsoft.ReportingServices.Rendering.ImageRenderer.ImageRenderer,Microsoft.ReportingServices.ImageRendering"/>
    <Extension Name="WORD" Type="Microsoft.ReportingServices.Rendering.WordRenderer.WordDocumentRenderer,Microsoft.ReportingServices.WordRendering"/>
    </Render>

  • SSRS 2005 - Data Driven Subscription

    Hi ,
    On my report manager - 2005, I have one report which has only one parameter (Seller) and this is a single select parameter (NOT multiple selects)
    I want to create a data driven subscription which will send automatic Email to specified users on a weekly basis (every Friday morning)
    The only condition while sending excel formatted email is that, it should select some specific values only for this parameter "Seller"
    Example, it should send email to users only for Seller = A, B, and C and it should NOT send data for all other sellers
    Can you pl explain each step to do this ?
    Regards

    Hi UltraDev,
    If I understand correctly, you want to use data-driven subscription to send corresponding report to specific Seller. Please refer to the following steps:
    Click New Data-driven Subscription icon in the Subscriptions dialog box of the report.
    Select E-Mail option of Specify how to recipients are notified, and select “Specify a shared data source”. Next.
    Select the corresponding datasource. Next.
    Add query in the blank. It is related to the recipient. You can refer to the following code:
    Select ‘[email protected]’ as SellerAddress, ’A’ as Seller
    Union
    Select ‘[email protected]’ as SellerAddress, ’B’ as Seller
    Union
    Select ‘[email protected]’ as SellerAddress, ’C’ as Seller
    In the Step4 page, select “Get the value from the database” below “To”.
    Then, we can select the Seller field as the specify value which is only with A, B, C three values.
    In the Step5 page, we can configure the parameter values.
    After that, we can configure the schedule of the subscription.
    There is an article about how to Creating a Data-Driven Subscription, you can refer to it.
    http://technet.microsoft.com/en-us/library/ms169673(v=sql.90).aspx
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Data Driven Subscription Missing in Reporting Services Manager under Subcriptions

    I am attempting to create my first data driven subscription.
    However, the 'New Data-driven Subscription'
    button is missing from my management view under Subscriptions for the report I am using.
    I have verified that I have the 'Content Manager' and 'System Administrator' roles associated with my login.  Also, I am running on the necessary Enterprise Edition.
    Microsoft SQL Server 2012 Enterprise Edition (64-bit) on Windows NT 6.2 
    Please assist me in troubleshooting this matter as this is the only method I'm aware of for accessing data driven subscriptions.

    Hi ThornDrill,
    According to your description, the 'New Data-driven Subscription' button is missing though you install SQL Server Enterprise edition.
    In you scenario, it’s possible that you are running a different SKU of Report Server while the SQL Server is Enterprise edition. Please find the first log file within the Reporting Service logs, then search the keyword with “SKU” to find the actual edition
    of the report server instance. For more information, please refer to this similar thread:
    Data driven subscription button not displayed.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • New at data driven subscriptions

    Hi there
    I am new to subscriptions and need to schedule some reports.
    However the email field is greyed out... I need to edit it to insert an email address is this a permissions issue..?

    Hi LuluWala,
    Based on my understanding, when you create a new data-driven subscription, the To box is greyed out, then you can’t alter the email address, right?
    In Reporting Service, 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. So in your scenario,
    you should change the value of SendEmailToUserAlias to False in the Reporting Services configuration file (in SSRS 2012, this file locates at xx:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config),
    then the field can be editable.
    Reference:
    Configure a Report Server for E-Mail Delivery (SSRS Configuration Manager)
    Subscription Emails TO Field Greyed out in SSRS 2008
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • Data driven subscription query returns no data

    We have a data driven subscription on SSRS 2008 R2. The columns in the query are tied to one or more parameters of the report. When we run the subscription and if the query does not return any rows, I was hoping that the subscription will not start; however,
    instead, to my surprise, I got error stating..."Parameter XYZ value can't be null". How to avoid this error and keep subscription from running in this situation? 
    Example: I have a report that required employeeID as a parameter. I have a query (step 3: data driven subscription) that fetches employee ID based on some criteria. If there is no row returned by the query; It throws error on report stating "Parameter
    EmployeeID can't be null."
    Nehal Jain

    Hello Nehal -
    Try adding a UNION ALL to your parameter dataset query like
    UNION ALL SELECT NULL AS EmployeeID , ..
    Just check accordingly. I ll revert again based on this , got a priority now.
    Happy to help! Thanks. Regards and good Wishes, Deepak. http://deepaksqlmsbusinessintelligence.blogspot.com/

  • [Forum FAQ] How to configure a Data Driven Subscription which get multi-value parameters from one column of a database table?

    Introduction
    In SQL Server Reporting Services, we can define a mapping between the fields that are returned in the query to specific delivery options and to report parameters in a data-driven subscription.
    For a report with a parameter (such as YEAR) that allow multiple values, when creating a data-driven subscription, how can we pass a record like below to show correct data (data for year 2012, 2013 and 2014).
    EmailAddress                             Parameter                      
    Comment
    [email protected]              2012,2013,2014               NULL
    In this article, I will demonstrate how to configure a Data Driven Subscription which get multi-value parameters from one column of a database table
    Workaround
    Generally, if we pass the “Parameter” column to report directly in the step 5 when creating data-driven subscription.
    The value “2012,2013,2014” will be regarded as a single value, Reporting Services will use “2012,2013,2014” to filter data. However, there are no any records that YEAR filed equal to “2012,2013,2014”, and we will get an error when the subscription executed
    on the log. (C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles)
    Microsoft.ReportingServices.Diagnostics.Utilities.InvalidReportParameterException: Default value or value provided for the report parameter 'Name' is not a valid value.
    This means that there is no such a value on parameter’s available value list, this is an invalid parameter value. If we change the parameter records like below.
    EmailAddress                        Parameter             Comment
    [email protected]         2012                     NULL
    [email protected]         2013                     NULL
    [email protected]         2014                     NULL
    In this case, Reporting Services will generate 3 reports for one data-driven subscription. Each report for only one year which cannot fit the requirement obviously.
    Currently, there is no a solution to solve this issue. The workaround for it is that create two report, one is used for view report for end users, another one is used for create data-driven subscription.
    On the report that used create data-driven subscription, uncheck “Allow multiple values” option for the parameter, do not specify and available values and default values for this parameter. Then change the Filter
    From
    Expression:[ParameterName]
    Operator   :In
    Value         :[@ParameterName]
    To
    Expression:[ParameterName]
    Operator   :In
    Value         :Split(Parameters!ParameterName.Value,",")
    In this case, we can specify a value like "2012,2013,2014" from database to the data-driven subscription.
    Applies to
    Microsoft SQL Server 2005
    Microsoft SQL Server 2008
    Microsoft SQL Server 2008 R2
    Microsoft SQL Server 2012
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    For every Auftrag, there are multiple Position entries.
    Rest of the blocks don't seems to have any relation.
    So you can check this code to see how internal table lt_str is built whose first 3 fields have data contained in Auftrag, and next 3 fields have Position data. The structure is flat, assuming that every Position record is related to preceding Auftrag.
    Try out this snippet.
    DATA lt_data TYPE TABLE OF string.
    DATA lv_data TYPE string.
    CALL METHOD cl_gui_frontend_services=>gui_upload
      EXPORTING
        filename = 'C:\temp\test.txt'
      CHANGING
        data_tab = lt_data
      EXCEPTIONS
        OTHERS   = 19.
    CHECK sy-subrc EQ 0.
    TYPES:
    BEGIN OF ty_str,
      a1 TYPE string,
      a2 TYPE string,
      a3 TYPE string,
      p1 TYPE string,
      p2 TYPE string,
      p3 TYPE string,
    END OF ty_str.
    DATA: lt_str TYPE TABLE OF ty_str,
          ls_str TYPE ty_str,
          lv_block TYPE string,
          lv_flag TYPE boolean.
    LOOP AT lt_data INTO lv_data.
      CASE lv_data.
        WHEN '[Version]' OR '[StdSatz]' OR '[Arbeitstag]' OR '[Pecunia]'
             OR '[Mita]' OR '[Kunde]' OR '[Auftrag]' OR '[Position]'.
          lv_block = lv_data.
          lv_flag = abap_false.
        WHEN OTHERS.
          lv_flag = abap_true.
      ENDCASE.
      CHECK lv_flag EQ abap_true.
      CASE lv_block.
        WHEN '[Auftrag]'.
          SPLIT lv_data AT ';' INTO ls_str-a1 ls_str-a2 ls_str-a3.
        WHEN '[Position]'.
          SPLIT lv_data AT ';' INTO ls_str-p1 ls_str-p2 ls_str-p3.
          APPEND ls_str TO lt_str.
      ENDCASE.
    ENDLOOP.

Maybe you are looking for

  • Regarding print preview for BOM

    Hi, In sales order BOM item is appearing with two other subitems but while taking the print out only main item should appear in print out or it should give the option of printing either main item or sub items pls let me know the setting need to be do

  • PC Suite and N80 IE

    Hello, I own a N80 Internet Edition and i'm not able to connect it with my pc. I'm using Pc Suite 6.84.10.3 with Windows Vista Business. First time I connected the cable to the pc and then the phone on the cable, it started to install software and th

  • Order Type change in PO

    Hi experts, Once the PO is saved we are able to change order type, my requirement is that when the order saves, no body should be allowed to change the order type. What should we do. GR

  • Can you change tabs on a tab control by using boolean buttons?

    Need to change tabs by pressing a button instead of using the actual tabs.

  • Images not visible on iTunes Store Home and Error 8012 while downloading

    Almost three weeks ago I started to have problems with the iTunes Store as it does not shows the images on the screen, it just shows you images of a broken chain. In addition, I bought two songs and at the moment they start to download an Error 8012