web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Report build error

(1) ShareShare
ReportReport
Posted on by 471

Hi everyone,

I am migrating a report from AX 2012 and D365 manually. So, after completing the design, I am facing an error below and it looks non-descriptive. Here it is,

Severity Code Description Project File Line Suppression State
Error Path: [AxReport/xxxFreeTextInvoice]:"An unhandled exception was thrown while validating xxxFreeTextInvoice 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)." AxReport_FreeTextInvoice (VAR) [xxxxSuite] K:\AosService\PackagesLocalDirectory\xxxSuite\xxxSuite\AxReport\xxxFreeTextInvoice.xml 0

Any direction would be greatly helpful.

Thanks,

I have the same question (0)
  • Sukrut Parab Profile Picture
    71,735 Moderator on at

    Can you try full build of your model if you havn't tried yet?

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi,

    Have you removed a parameter from the report while migrating it from AX 2012? if so, could you try adding the parameter and check if that resolves the issue?

  • VermaMC Profile Picture
    471 on at

    Thanks both of you.

    I have tried Full build. The parameters are matching with AX 2012 and D365. After doing some troubleshooting. I am getting below error now.

    The number of defined parameters is not equal to the number of cell definitions in the parameter panel.

      at Microsoft.ReportingServices.Library.ReportingService2005Impl.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties, Guid batchId, Warning[]& Warnings)

      at Microsoft.ReportingServices.WebServer.ReportingService2005.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties, Warning[]& Warnings)

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    The RDL schema version looks wrong. This call - "Microsoft.ReportingServices.Library.ReportingService2005Impl.CreateReport()" points at a older namespace which could create issues with report parameters.

    Could you please navigate to the Reports folder under C:\AOSService\PackagesLocalDirectory\<Your model>\Reports and open the RDL in notepad?

    Please check if the second line matches this line below -

    If not, could you please close VS, replace the existing line with this one and try opening the report in VS again?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 653

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 463 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 308 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans