In my case it was an issue with the wrong extends of the contract class (of course this happened because of poor copy-paste skills :) ) Check the contract class if you have extended with the SrsReportRdlDataContract class, instead of this you need to add DataContractAttribute on top, that it.
Search This Blog
September 15, 2023
QuickFix: Company doesn't exit error on report
September 06, 2023
Supercharging Dynamics 365 F&O implementation with Azure DevOps
Hi Folks,
Here is the recording of the session delivered on 31st August, it primarily targeted below topics,
August 22, 2023
QuickFix: Error while build SSRS report
Error Message:
Severity Code Description Project File Line Suppression State
Error Path: [AxReport/<ReportName>]:"An unhandled exception was thrown while validating <ReportName>with callstack System.InvalidOperationException: Sequence contains no matching element
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
at Microsoft.Dynamics.AX.Metadata.Extensions.Reports.AxReportDataSetParameterExtensions.GetAssociatedReportParameter(AxReportDataSetParameter datasetParameter, AxReport report)
at Microsoft.Dynamics.AX.Metadata.Validation.DataSetParameterConstraint.Validate(ModelValidationContext context, AxReportDataSetParameter element)
at Microsoft.Dynamics.AX.Metadata.Validation.AxReportValidator.ValidateDataSets(AxReport report, ModelValidationContext validationContext)
at Microsoft.Dynamics.AX.Metadata.Validation.AxReportValidator.DoValidate(AxReport report, Uri uri, IMetadataProvider metadataProvider, IDiagnosticSink diagnostics)
at Microsoft.Dynamics.AX.Metadata.Validation.ValidatorBase`1.StartValidation(T objectToValidate, Uri uri, IMetadataProvider metadataProvider, IDiagnosticSink diagnostics)."
Fix: Sorry to say in this way, but simply create a completely new report and copy the design from the current to the new report, this should work.
July 31, 2023
[Solved] Unable to find a feature in 'Feature management' workspace
If you are struggling to find a required feature in the 'Feature management' workspace, simply click on 'Check for updates' and most hopefully the feature you are looking for will start appearing in the list.
Subscribe to:
Posts (Atom)