Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Field is missing from the returned result set from the data source.

$
0
0

Hi All I'm currently receiving the following issue regarding an SSRS report in AX.

The dataset ‘FreeTextInvoiceDS’ contains a definition for the Field ‘GiroType’. This field is missing from the returned result set from the data source.

The dataset ‘FreeTextInvoiceDS’ contains a definition for the Field ‘GiroType’. The data extension returned an error during reading the field. System.InvalidCastException: Specified cast is not valid.
at Microsoft.Dynamics.Framework.Reports.AxReportProviderDataTableReader.<>c__DisplayClassd.<CreateFieldGetter>b__4()
at Microsoft.Dynamics.Framework.Reports.AxReportProviderDataTableReader.GetValue(Int32 fieldIndex)
at Microsoft.ReportingServices.DataExtensions.MappingDataReader.GetFieldValue(Int32 aliasIndex)


I am printing this report to PDF from code and it works 100% in both DEV and UAT environments, but I recieve this issue in Production only.

  • The code and report is exactly the same across all environments.
  • This is a FPK layer field, so nothing to do with my code
  • The report prints ok if I run it via normal report viewer
  • I have redeployed the report a number of times
  • I have restarted all the AOS in the cluster (also performed full compile, CIL & Sync)
  • I have restarted the reporting server.

Has anybody come across this type of issue before.


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>