Tuesday 9 November 2021

Unable to read beyond the end of the stream D365 F&O

 exceptionMessage An error occurred when running report TestReport.Report. Message: Unable to read beyond the end of the stream.

exceptionType System.IO.EndOfStreamException
stackTrace System.IO.EndOfStreamException: Unable to read beyond the end of the stream. at System.IO.__Error.EndOfFile() at System.IO.BinaryReader.ReadString() at Microsoft.Dynamics.AX.Metadata.Storage.RuntimeDeserializer.DeserializeAxReportPrecisionDesign(BinaryReader reader) at Microsoft.Dynamics.AX.Metadata.Storage.RuntimeDeserializer.DeserializeAxReport(BinaryReader reader) 


Solution: To fix following issue you can simply build the model you are working on.

No comments:

Post a Comment

Adding a newline into a string in C# and X++

Below is the sample code we can use for  adding a newline after every occurrence of "@" symbol in the string in C#   using System...