SQL Server Reporting Services 2005,预览版与部署的报表不同

问题描述:

我在 SSRS 2005 中创建了一个子报表,上面有一个条形图和一个文本框,就像一个简单的进度条.我将在报告中使用它来显示百分比.

I created a Subreport in SSRS 2005 with a bar chart and a textbox above, just as a simple progress bar. I'll use it in a report to show a percentage.

在报告预览中它工作正常,进度条如下所示:

In the Report preview it works fine and the progressbar looks like this:

预览

但是当我在报表服务器上部署报表时,我得到了这个:部署报告

But when I the deploy the report on the report server I get this: Deployed Report

这对我来说并不陌生,有时预览中的输出与服务器不同,但不幸的是,我无法找到解决此问题的方法.

It's not really new to me, that sometimes the output in the preview differs from the server, but unfortunately I just can't find a solution for this issue.

提前谢谢

我认为您看到的是浏览器问题.

I think what you are seeing is a browser issue.

SSRS 输出的默认 css 非常偏向于 IE.(它也不能很好地与 IE9 配合使用)这会在 firefox 和 safari 等浏览器上导致很多问题.

The default css that SSRS outputs is very biased towards IE. (It doesn't play well with IE9 either) This causes a lot of issues on browsers like firefox and safari.

如果您真的必须让它以这种方式显示,请记住 SSRS 确实允许您创建自定义渲染扩展(尽管修复一个小错误会花费太多精力).

If you really must get it to display that way, remember that SSRS does allow you to create custom rendering extensions(Would be too much effort to fix a small bug though).