Microsoft Report Viewer版本9.0到10.0报告无法加载

时间:2021-02-24 08:21:02

We are using WinForms Reoprt viewer control. Everything worked fine until we migrated to VS2010 from VS2008. VS2010 converts our project to corresponding version simultaneously changing the version of Microsoft.ReportViwer.Common and Microsoft.WinForms from 9.0 to 10.0. Also during the first opening of .rdlc file VS2010 suggests to convert it.

我们正在使用WinForms Reoprt查看器控件。一切正常,直到我们从VS2008迁移到VS2010。 VS2010将我们的项目转换为相应的版本,同时将Microsoft.ReportViwer.Common和Microsoft.WinForms的版本从9.0更改为10.0。同样在.rdlc文件的第一次打开期间,VS2010建议将其转换。

After such manipulation report crashes and displays the following error:

此类操作报告崩溃后显示以下错误:

"An error occured during local report processing. An error has occured during report processing. The Group expression used in Groping '' returned a data type that is not valid."

“在本地报告处理期间发生错误。报告处理期间发生错误。在Groping中使用的Group表达式'返回了无效的数据类型。”

However if I change assemblies version back to 9.0 everithing works fine.

但是,如果我将程序集版本更改回9.0,则可以正常工作。

Does anybody have any idea or help how to make it work with newer libraries?

有没有人有任何想法或帮助如何使它与新的图书馆一起工作?

1 个解决方案

#1


0  

I've found the solution. This problem was with nested field attributes and fixed in VS2010 SP1. This article explains this issue http://blogs.msdn.com/b/brianhartman/archive/2010/10/27/nested-objects-in-local-mode.aspx

我找到了解决方案。此问题与嵌套字段属性有关,并已在VS2010 SP1中修复。本文解释了这个问题http://blogs.msdn.com/b/brianhartman/archive/2010/10/27/nested-objects-in-local-mode.aspx

#1


0  

I've found the solution. This problem was with nested field attributes and fixed in VS2010 SP1. This article explains this issue http://blogs.msdn.com/b/brianhartman/archive/2010/10/27/nested-objects-in-local-mode.aspx

我找到了解决方案。此问题与嵌套字段属性有关,并已在VS2010 SP1中修复。本文解释了这个问题http://blogs.msdn.com/b/brianhartman/archive/2010/10/27/nested-objects-in-local-mode.aspx