SSRS 2005 - 订阅电子邮件被压缩到左侧
我有一个数据驱动的订阅,它使用网络存档作为将报告嵌入到电子邮件中的格式。
我的问题是,该报告被打碎到左侧的一条细带中,大约 150 - 200 像素宽(我的猜测)。
当我在 Outlook 中打开它时,它被粉碎了。我可以点击在浏览器中查看它,它会在 IE 中打开它。在IE中,看起来不错。
如何使报告水平扩展以适合我的电子邮件?
这里有一些可能需要解决这个问题的设置,但我不确定它们是否与我所看到的问题有关。
- 大小设置为 8.5 英寸宽 x 4 英寸高
- 边距设置为 1 英寸、1 英寸、1 英寸、1 英寸
- 交互尺寸为 8.5 英寸 x 11 英寸
编辑:
有趣的是,当我在 Outlook 中打开标尺时,滑块已设置,不会从粉碎报告的宽度移动。
I have a data driven subscription that uses web archive as the format to embed the report in an e-mail message.
My problem is that the report is smashed over to the left in a thin band, approximately 150 - 200 pixels wide (my guess).
When I open it in outlook it is smashed. I can click to view it in a browser, which opens it in IE. In IE, it looks fine.
How do I get the report to expand horizontally to fit in my e-mail?
Here's a few settings that might be necessary to figure this out, but I'm not sure if they have anything to do with the issue I'm seeing.
- Size is set to 8.5in wide by 4in high
- Margin is set to 1in, 1in, 1in, 1in
- Interactive size is 8.5in by 11in
EDIT:
Interestingly, when I turn on the ruler in Outlook, the slider is set and will not move from the width of the smashed report.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您是否尝试过 SSRS 的电子邮件扩展?
http://msdn.microsoft.com/en-us/library/ms160334.aspx
Have you tried the email extension for SSRS?
http://msdn.microsoft.com/en-us/library/ms160334.aspx
作为黑客,我创建了一个 1 像素高、8.5 英寸宽的白色图像并将其嵌入到我的报告中。这迫使报表宽度为 8.5 英寸,但没有解释如何让渲染引擎使报表自动展开。
As a hack, I've created a 1 px tall, 8.5 inch wide white image and embedded it in my report. This forces the report to 8.5 inches wide, but doesn't explain how to get the rendering engine to make the report expand automatically.
我们遇到了类似的问题,经过大量的解决方法,我们终于找到了 SSRS 配置中的一个参数来解决这个问题:OutlookCompat。启用此功能后,HTML4.0 电子邮件在 Outlook 中不再显得扁平。
有关详细信息,请参阅 MSDN 文档 。您可以在 SSRS 配置文件(对于所有报告和调用者)中设置此值,也可以在调用 ASMX 时直接设置此值。
SSRS 配置示例:
We faced a similar problem and after a lot of workarounds we finally found out the one parameter in SSRS configuration that did the trick: OutlookCompat. With this enabled the HTML4.0 e-mails no longer look squished in Outlook.
See the MSDN documentation for more details. You can set this value either in the SSRS configuration file (for all reports and callers) or directly when calling the ASMX.
Example of the SSRS configuration:
如果您使用 Outlook 2007 查看报告,此问题有一个修补程序。
http://support.microsoft.com/kb/935399
If you're using outlook 2007 to view the report, this problem has a hotfix.
http://support.microsoft.com/kb/935399