reporting services - Failure sending mail: An error has occurred during report processing.Mail will not be resent -
an ssrs email subscription did not work morning. error message saw "failure sending mail: error has occurred during report processing.mail not resent." when checked log files, found out there error in more 1 dataset in report. report reading data sharepoint. please find below error log file.
processing!windowsservice_22!c0c!08/21/2017-06:00:34:: e error: throwing microsoft.reportingservices.reportprocessing.reportprocessingexception: , microsoft.reportingservices.reportprocessing.reportprocessingexception: query execution failed dataset 'work_packs'. ---> system.argumentexception: item same key has been added. @ system.throwhelper.throwargumentexception(exceptionresource resource) @ system.collections.generic.dictionary'2.insert(tkey key, tvalue value, boolean add) @ system.collections.generic.dictionary'2.add(tkey key, tvalue value) @ microsoft.reportingservices.dataextensions.sharepointlist.spremotecommand.datareader..ctor(spremotecommand command, commandbehavior behavior) @ microsoft.reportingservices.dataextensions.sharepointlist.spremotecommand.createdatareader(spcommandbase command, commandbehavior behavior) @ microsoft.reportingservices.dataextensions.sharepointlist.spcommandbase.executereader(commandbehavior behavior) @ microsoft.reportingservices.ondemandprocessing.runtimedataset.runembeddedquery(boolean& readerextensionssupported, boolean& readerfieldproperties, list'1 queryparams, object[] paramvalues) --- end of inner exception stack trace ---; processing!windowsservice_22!a88!08/21/2017-06:00:34:: e error: throwing microsoft.reportingservices.reportprocessing.reportprocessingexception: , microsoft.reportingservices.reportprocessing.reportprocessingexception: query execution failed dataset 'construction_activities'. ---> system.argumentexception: item same key has been added. @ system.throwhelper.throwargumentexception(exceptionresource resource) @ system.collections.generic.dictionary'2.insert(tkey key, tvalue value, boolean add) @ system.collections.generic.dictionary'2.add(tkey key, tvalue value)
@ microsoft.reportingservices.dataextensions.sharepointlist.spremotecommand.datareader..ctor(spremotecommand command, commandbehavior behavior) @ microsoft.reportingservices.dataextensions.sharepointlist.spremotecommand.createdatareader(spcommandbase command, commandbehavior behavior) @ microsoft.reportingservices.dataextensions.sharepointlist.spcommandbase.executereader(commandbehavior behavior) @ microsoft.reportingservices.ondemandprocessing.runtimedataset.runembeddedquery(boolean& readerextensionssupported, boolean& readerfieldproperties, list`1 queryparams, object[] paramvalues) --- end of inner exception stack trace ---; processing!windowsservice_22!a88!08/21/2017-06:00:34:: e error: exception has occurred in data set 'construction_activities'. details: microsoft.reportingservices.reportprocessing.reportprocessingexception: query execution failed dataset 'construction_activities'. ---> system.argumentexception: item same key has been added. processing!windowsservice_22!c0c!08/21/2017-06:00:34:: e error: exception has occurred in data set 'work_packs'. details: microsoft.reportingservices.reportprocessing.reportprocessingexception: query execution failed dataset 'work_packs'. ---> system.argumentexception: item same key has been added. processing!windowsservice_22!c0c!08/21/2017-06:00:34:: e error: throwing microsoft.reportingservices.reportprocessing.processingabortedexception: , microsoft.reportingservices.reportprocessing.processingabortedexception: error has occurred during report processing. ---> microsoft.reportingservices.reportprocessing.reportprocessingexception: query execution failed dataset 'construction_activities'. ---> system.argumentexception: item same key has been added.
the issue (poorly) described in error message. have never liked error message, have seen many times.
query execution failed dataset 'work_packs'. ---> system.argumentexception: item same key has been added.
what means dataset named work_packs has fields being returned same name, or no name, more once.
to fix it, find query, , correct query field names unique. make sure getting sharepoint isn't giving fields same name more once. mean rdl need updated.
the report, , subscription, should work after deploy changes reporting server.
Comments
Post a Comment