无法在报表管理器中看到子报表

时间:2021-02-11 08:22:52

I've been following this tutorial (lesson 6) in order to build and deploy a sample report with an embedded subreport which reads its parameters' values from the parent report. This subreport is embedded in one of the group rows of the report's table, and both share the same datasource. Additionally, detail rows appear collapsed until the user presses the (+) button for each group of data in the table.

我一直在关注本教程(第6课),以便构建和部署带有嵌入式子报表的示例报表,该子报表从父报表中读取其参数值。此子报表嵌入在报表表的一个组行中,并且两者共享相同的数据源。此外,详细行显示为折叠,直到用户按下表中每组数据的(+)按钮。

The report works great when I preview it at the Business Intelligence Development Studio (by the way, SQL 2005 Express edition) but when I deploy it and try to see in the Report Manager, the subreport is not shown. And, if I press the (+) button, the following message appears:

当我在商业智能开发工作室(顺便说一下,SQL 2005 Express版)上预览时,该报告非常有用,但是当我部署它并尝试在报表管理器中查看时,子报表未显示。并且,如果我按(+)按钮,将显示以下消息:

Some parameters or credentials have not been specified

尚未指定某些参数或凭据

Does anybody has the slightest idea of what I am doing wrong? Why does it works perfectly in the Report Viewer embedded in Visual Studio but not in the Report Manager web app?

有人对我做错了什么有任何想法吗?为什么它在Visual Studio中嵌入的报表查看器中完美运行,而在Report Manager Web应用程序中却没有?

Thanks in advance.

提前致谢。

4 个解决方案

#1


1  

Does the subreport use the same Data Source as the parent report? If not, be sure to check the data source of the subreport to make sure it is correct. Check in Report Manager, not your local copy.

子报表是否使用与父报表相同的数据源?如果没有,请务必检查子报表的数据源以确保它是正确的。签入报表管理器,而不是本地副本。

#2


1  

I'm beginning to think this could be an issue with the browser. I'm currently using Internet Explorer 8 Beta and I'm also experiencing weird behavior from the Report Manager. I've tried with Google Chrome and Firefox 3 and, although the navigation is not as smooth as I like, the problem seems fixed.

我开始认为这可能是浏览器的一个问题。我目前正在使用Internet Explorer 8 Beta,而且我也遇到了来自Report Manager的奇怪行为。我尝试使用谷歌浏览器和Firefox 3,虽然导航并不像我喜欢的那样顺畅,但问题似乎已经解决了。

#3


1  

it happens when you use IE8 as a report browser. I faced same issue and when I tested on chrome it worked fine .

当您使用IE8作为报表浏览器时会发生这种情况。我遇到了同样的问题,当我在chrome上测试时,它运行良好。

#4


0  

This may or may not be related, but I had a similar problem some time ago (except that in my case the reports were accessed through a custom web page) and it turned out we had an older version of the report viewer control (the version that came with Sql 2005 RTM). After upgrading to the latest version the issue went away.

这可能有也可能没有关系,但我前段时间遇到了类似的问题(除了在我的情况下报告是通过自定义网页访问的),结果发现我们有一个旧版本的报告查看器控件(版本)与Sql 2005 RTM一起提供的)。升级到最新版本后,问题就消失了。

#1


1  

Does the subreport use the same Data Source as the parent report? If not, be sure to check the data source of the subreport to make sure it is correct. Check in Report Manager, not your local copy.

子报表是否使用与父报表相同的数据源?如果没有,请务必检查子报表的数据源以确保它是正确的。签入报表管理器,而不是本地副本。

#2


1  

I'm beginning to think this could be an issue with the browser. I'm currently using Internet Explorer 8 Beta and I'm also experiencing weird behavior from the Report Manager. I've tried with Google Chrome and Firefox 3 and, although the navigation is not as smooth as I like, the problem seems fixed.

我开始认为这可能是浏览器的一个问题。我目前正在使用Internet Explorer 8 Beta,而且我也遇到了来自Report Manager的奇怪行为。我尝试使用谷歌浏览器和Firefox 3,虽然导航并不像我喜欢的那样顺畅,但问题似乎已经解决了。

#3


1  

it happens when you use IE8 as a report browser. I faced same issue and when I tested on chrome it worked fine .

当您使用IE8作为报表浏览器时会发生这种情况。我遇到了同样的问题,当我在chrome上测试时,它运行良好。

#4


0  

This may or may not be related, but I had a similar problem some time ago (except that in my case the reports were accessed through a custom web page) and it turned out we had an older version of the report viewer control (the version that came with Sql 2005 RTM). After upgrading to the latest version the issue went away.

这可能有也可能没有关系,但我前段时间遇到了类似的问题(除了在我的情况下报告是通过自定义网页访问的),结果发现我们有一个旧版本的报告查看器控件(版本)与Sql 2005 RTM一起提供的)。升级到最新版本后,问题就消失了。