Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: 'There is no data for the field at position N.' #13

Closed
hovek opened this issue Jan 26, 2021 · 2 comments

Comments

@hovek
Copy link

hovek commented Jan 26, 2021

Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: 'There is no data for the field at position N.'

The previous version of the report viewer in .NET Framework tolerated that, now having this constraint really does not help in porting hundreds of reports to .NET 5.0. Make it tolerable for not provided dataset fields, make a property with which we can make it tolerable for such issues.

@hovek hovek changed the title Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: 'There is no data for the field at position 2.' Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: 'There is no data for the field at position N.' Jan 26, 2021
@lkosson
Copy link
Owner

lkosson commented Jan 27, 2021

Can you post full stack trace where exactly ReportProcessingException it thrown? From my experiments, it should be caught right away in MappingDataReader.GetFieldValue and converted to report warning while producing empty value and continuing report rendering.

Perhaps you get ReportProcessingException as first-chance exception only while debugger is attached?

@hovek
Copy link
Author

hovek commented Jan 27, 2021

I've ignored the exception and reports are rendering.

@lkosson lkosson closed this as completed Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants