SQL报告服务报告图像错误 [英] SQL Reporting Service Report Image Error

查看:226
本文介绍了SQL报告服务报告图像错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于一个快速的临时解决方案,我制作了一张用户希望以编程方式填写表格的图像.然后,我将该图像嵌入到报表中,并用图像填充页面.然后,将字段放在图像顶部,以填写需要填写的表格中的区域.我意识到这可能不是最好的解决方案,但它确实有效,我们需要在短短几天之内就可以完成某些工作,而且只要用户将其导出为PDF,它就可以正常工作.

For a quick temporary solution I made an image of a form that the users wanted to have programatically filled out. I then embedded that image in a report and filled the page with the image. I then put the fields on top of the image to fill out the areas in the form that needs filling. I realize this may not be the best solution, but it worked and we needed to get something working in just a couple days and as long as the user exports it to PDF, it works fine.

通常只有几页,但是今天它们几乎有40页.问题在于,大约在第35页之后,图像变成了一个小的红色X(就像网页上缺少图像时一样),但是它仍然会打印出图像顶部的文本.

Normally there are only a few pages, but today they have almost 40 pages. The problem is that after about page 35, the image becomes a small red X (like when an image is missing on a web page) but it will still print the text that goes on top of the image.

让我感到困惑的是,在对其分页符进行了一些调整之后,该报告将在我的PC上正常运行,但在服务器上无法正常运行.该报告使用的是Visual Studio报告,并且存储在Intranet服务器而不是SQL Server上.

To add to my confusion, after a couple tweaks of how it page breaks, the report will run fine on my PC but not on the server. This report is using the Visual Studio reports and are stored on the intranet server not the SQL Server.

图像约为250k,是PNG.

The image is about 250k and is a PNG.

我希望我已经清楚地解释了这一点.有什么想法吗?

I hope I have explained this clearly. Any ideas?

推荐答案

我相信我是通过

I believe I fixed this by creating a PDF through code instead of using the report viewer. I haven't found a better way to do this.

这篇关于SQL报告服务报告图像错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆