SSRS2008报表导出到EXCEL正常,打印后折行。
2010-12-14 11:47
330 查看
SSRS2008报表导出到EXCEL正常,打印后折行。简单解决方案是直接调整SIZE和Margin。微软发布的SQL SERVER 2008 SP2 宣称已经修复此问题,下面是MS原帖,再下面是这之前喷微软的口水贴。
MS原帖:
FIX: The margins are not retained in a report when the report is exported to Excel on a server that is running SQL Server 2008, and then you preview the report in Excel
Consider the following scenario:
You run Report Builder on a server that is running Microsoft SQL Server 2008.
In Report Properties, you set the margins of the report to 0.25 inches, and then you save the report.
You run the report, and then you export the report to Microsoft Excel.
In this scenario, when you click Print Preview in Microsoft Excel and then show the margins, the margins that you set are not retained. For example, the top and bottom margins are set to 1 inch, and the right and left margins are set to 0.75 inches.
Back to the top
Back to the top
This problem was first corrected in SQL Server 2008 Service Pack 2 for SQL Server 2008.
Back to the top
Back to the topAPPLIES TO
Back to the top
320Register
to vote
Details (expand)Comments (14)
Workarounds (0)
Register to post a comment.Posted by Microsoft on 7/21/2010 at 6:51 PMFYI, the fix for Reporting Services 2008 is included in the CTP for PCU2, available for download here: http://go.microsoft.com/fwlink/?LinkId=196550
Thank you,
Reporting Services TeamPosted by sarah_bear on 5/19/2010 at 4:46 AMSuppose I shouldn't be surprised that yet another thing that worked in 2005 is broken in 2008. Does Mircosoft actually do any testing before they release their products?! Anyway, is there a fix for this yet other than getting R2, which is a no-go for my company?Posted by SSRS_DEV on 4/16/2010 at 8:34 AMIf this just has to deal with the Excel renderer, then why can't we just get a bug fix patch?
It would save a lot of headache and ticked off users if we can just patch the SSRS server than waiting for another SP or installation of R2....Posted by Microsoft on 4/14/2010 at 5:37 PMWe consider releasing the fix as a part of the next service pack for SQL Server 2008 later this year.
Thank you,
Krisztian BPosted by SSRS_DEV on 3/8/2010 at 9:55 AMCrawfy,
That is a good point I forgot to mention in my earlier post as well. I too am starting to get calls/emails about how some reports when exporting to Excel loose the word wrap so to speak.
I know there was a fix or two done with the latest update package to SP2, I think it was update6 that fixed some of the report problems but the Excel margin is the BIG one I am running into now with my 2000+ users.Posted by jcrawfo2 on 3/7/2010 at 9:18 PMI also have the same issue with our RSReports ignoring the paging on export to excel, as all of our reports are customised with 1cm margins to give the greatest possible real estate to render the reports.
It also appears the rendered excel report dimensions are different. Reports that fit when exported to excel in 2005, no longer fit when I manually set the margins on the exported report as they should be. So even if Microsoft fix this bug, I am still going to be forced to test every report and edit the width of every report by a few pixels to make them fit on a single page.
Please Microsoft, do some testing and make it so reports exported to excel are backwards compatible with 2005, down to the pixel, as it impacts your customers.
Also related to this, export to excel does not size the height of the rows correctly, two scenarios.
1. In our reports we have columns where data wraps. In rows where content is wrapped the height of the rows are insufficient to render all the text and the final line of text is only half visible.
2. In the header of our reports we have a text box which displays the title of the report in a 20pt font. The height of the row when exported is insufficient to render the title and the bottom half of the title is cut off.
Our users are now expected to Ctrl-A double click to get the rows to re-size, and then do a print preview and drag the margins around until it fits on the page.
This has been identified as a "show stopper" and our upgrade to RS2008 has been halted, pending R2. Posted by SSRS_DEV on 2/17/2010 at 7:14 PMFor those of you needing an answer, we called MS today and there is no hotfix for this. this will come out in R2..
So if you have a ton of clients that export their spreadsheets and wish to print in SSRS 2008, you have to let them know to manually update their page margins before they print. 1" by .75"
When they ask you that it worked in the previous version (SSRS 2005), you simply respond its not a bug, its a feature!!
then tell them MS is working on this and will release it soon.....Posted by SSRS_DEV on 2/17/2010 at 8:37 AMIs there a hotfix for this? we just upgraded over the weekend and now reports that export to excel are causing a huge problem with my company. Users are getting frustrated. If there is a hotfix, does anyone have a link?Posted by Tobi1412 on 2/11/2010 at 6:25 AMI also like to have a bugfix without updating to 2008 R2.Posted by bittyboy on 1/21/2010 at 12:56 PMWill there be a way to update our existing SQL 2008 servers? This was functionality that was in place for 2005 and we should not have to upgrade our SQL Servers to R2 for a bug, right?Posted by Microsoft on 1/8/2010 at 1:08 PMThe problem is fixed in SQL Server 2008 R2 which will be released likely in the first half of 2010.
Regards,
Krisztian BPosted by Unregistered User on 12/24/2009 at 3:42 AMWhen is this supposed to be fixed? We are migrating reports from 2005 to 2008 en we are encountering this issue.Posted by ksminhas on 10/8/2009 at 9:11 AMYes it does not keep the margins After exporting report in to excelPosted by trabon123 on 9/22/2009 at 2:36 PMThis is also true using visual studio 2008.
MS原帖:
FIX: The margins are not retained in a report when the report is exported to Excel on a server that is running SQL Server 2008, and then you preview the report in Excel
Consider the following scenario:
You run Report Builder on a server that is running Microsoft SQL Server 2008.
In Report Properties, you set the margins of the report to 0.25 inches, and then you save the report.
You run the report, and then you export the report to Microsoft Excel.
In this scenario, when you click Print Preview in Microsoft Excel and then show the margins, the margins that you set are not retained. For example, the top and bottom margins are set to 1 inch, and the right and left margins are set to 0.75 inches.
Back to the top
RESOLUTION
Service pack information
To resolve this problem, obtain the latest service pack for SQL Server 2008. For more information, click the following article number to view the article in the Microsoft Knowledge Base:968382 How to obtain the latest service pack for SQL Server 2008Back to the top
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.This problem was first corrected in SQL Server 2008 Service Pack 2 for SQL Server 2008.
Back to the top
MORE INFORMATION
For more information about Report Builder in SQL Server 2008, see the following topic on the Microsoft TechNet website:Administering Report Builder 2.0Back to the topAPPLIES TO
Back to the top
Keywords: | kbinfo kbexpertiseinter kbprb kbbug kbtshoot kbsurveynew KB2216480 |
Reporting Services 2008 Export To Excel Margins by DJSpellman
Closedas Fixed | |
to vote
| 0Workaround(s) view21User(s) can reproduce this bug | |||||||||||||
When a report is exported to Excel the report margins are not kept for the printing of the worksheet. It appears that that the margins default to one inch.
Details (expand)Comments (14)
Workarounds (0)
Register to post a comment.Posted by Microsoft on 7/21/2010 at 6:51 PMFYI, the fix for Reporting Services 2008 is included in the CTP for PCU2, available for download here: http://go.microsoft.com/fwlink/?LinkId=196550
Thank you,
Reporting Services TeamPosted by sarah_bear on 5/19/2010 at 4:46 AMSuppose I shouldn't be surprised that yet another thing that worked in 2005 is broken in 2008. Does Mircosoft actually do any testing before they release their products?! Anyway, is there a fix for this yet other than getting R2, which is a no-go for my company?Posted by SSRS_DEV on 4/16/2010 at 8:34 AMIf this just has to deal with the Excel renderer, then why can't we just get a bug fix patch?
It would save a lot of headache and ticked off users if we can just patch the SSRS server than waiting for another SP or installation of R2....Posted by Microsoft on 4/14/2010 at 5:37 PMWe consider releasing the fix as a part of the next service pack for SQL Server 2008 later this year.
Thank you,
Krisztian BPosted by SSRS_DEV on 3/8/2010 at 9:55 AMCrawfy,
That is a good point I forgot to mention in my earlier post as well. I too am starting to get calls/emails about how some reports when exporting to Excel loose the word wrap so to speak.
I know there was a fix or two done with the latest update package to SP2, I think it was update6 that fixed some of the report problems but the Excel margin is the BIG one I am running into now with my 2000+ users.Posted by jcrawfo2 on 3/7/2010 at 9:18 PMI also have the same issue with our RSReports ignoring the paging on export to excel, as all of our reports are customised with 1cm margins to give the greatest possible real estate to render the reports.
It also appears the rendered excel report dimensions are different. Reports that fit when exported to excel in 2005, no longer fit when I manually set the margins on the exported report as they should be. So even if Microsoft fix this bug, I am still going to be forced to test every report and edit the width of every report by a few pixels to make them fit on a single page.
Please Microsoft, do some testing and make it so reports exported to excel are backwards compatible with 2005, down to the pixel, as it impacts your customers.
Also related to this, export to excel does not size the height of the rows correctly, two scenarios.
1. In our reports we have columns where data wraps. In rows where content is wrapped the height of the rows are insufficient to render all the text and the final line of text is only half visible.
2. In the header of our reports we have a text box which displays the title of the report in a 20pt font. The height of the row when exported is insufficient to render the title and the bottom half of the title is cut off.
Our users are now expected to Ctrl-A double click to get the rows to re-size, and then do a print preview and drag the margins around until it fits on the page.
This has been identified as a "show stopper" and our upgrade to RS2008 has been halted, pending R2. Posted by SSRS_DEV on 2/17/2010 at 7:14 PMFor those of you needing an answer, we called MS today and there is no hotfix for this. this will come out in R2..
So if you have a ton of clients that export their spreadsheets and wish to print in SSRS 2008, you have to let them know to manually update their page margins before they print. 1" by .75"
When they ask you that it worked in the previous version (SSRS 2005), you simply respond its not a bug, its a feature!!
then tell them MS is working on this and will release it soon.....Posted by SSRS_DEV on 2/17/2010 at 8:37 AMIs there a hotfix for this? we just upgraded over the weekend and now reports that export to excel are causing a huge problem with my company. Users are getting frustrated. If there is a hotfix, does anyone have a link?Posted by Tobi1412 on 2/11/2010 at 6:25 AMI also like to have a bugfix without updating to 2008 R2.Posted by bittyboy on 1/21/2010 at 12:56 PMWill there be a way to update our existing SQL 2008 servers? This was functionality that was in place for 2005 and we should not have to upgrade our SQL Servers to R2 for a bug, right?Posted by Microsoft on 1/8/2010 at 1:08 PMThe problem is fixed in SQL Server 2008 R2 which will be released likely in the first half of 2010.
Regards,
Krisztian BPosted by Unregistered User on 12/24/2009 at 3:42 AMWhen is this supposed to be fixed? We are migrating reports from 2005 to 2008 en we are encountering this issue.Posted by ksminhas on 10/8/2009 at 9:11 AMYes it does not keep the margins After exporting report in to excelPosted by trabon123 on 9/22/2009 at 2:36 PMThis is also true using visual studio 2008.
相关文章推荐
- 润乾报表v4-Demo中正常的打印导出导入参数功能集成后不能用的特殊情况解决
- 屏蔽SSRS 2008报表导出格式
- SSRS:如何消除SSRS报表导出EXCEL出现的合并列和隐藏列
- Spring MVC+ Ireport 做统计报表,导出HTML、EXCEL等格式的文件,打印;
- 水晶报表客户端不能导出、打印,图标显示不正常之解决办法
- 水晶报表导出为pdf, word , excel 格式(已经测试过,实现了该功能)
- 导出excel报表
- 水晶报表如何完美导出一个Excel表格(收藏)
- C#报表数据批量快速导出到Excel(百万级数据秒级内完成)
- 【叨、校长】JAVA WEB 导出Excel报表
- [转]水晶报表如何完美导出一个Excel表格
- 实现各种文件的下载方法:用于 WEB上的报表导出(jxl 实现Excel报表下载),核心思想就是将文件的输出流传给HttpResponseOutputStream 里就成了。
- apache poi导出excel报表
- Dynamics CRM 报表导出EXCEL 列合并问题的解决方法
- ReportViewer 简单报表的制作,解决导出、打印问题
- 。net报表学习-Excel导出
- HRESULT: 0x800A03EC Windows Server 2008 C# 导出 Excel
- salesforce 零基础学习(二十三)数据记录导出至excel(自定义报表导出)
- Java使用POI实现数据导出excel报表
- JavaWeb - Excel报表导出(1)