BUG: You receive an "Unable to read file" error message in Excel when you try to export a report in SQL Server 2000 Reporting Services (888531)
The information in this article applies to:
- Microsoft SQL Server 2000 Reporting Services
Bug #: 307358 (SQL BU Defect Tracking)
SYMPTOMSIn Microsoft SQL Server 2000 Reporting Services, when you
try to export a report to Microsoft Excel by choosing Excel as the export
format, you receive the following error message in Excel when you
open the file: Unable to read file. CAUSEThis behavior occurs when you try to export a report that
exceeds the limit of 8,228 cell bytes within each 32-row group of the report.
The cell byte limit is calculated by using the following formula: NumberOfRows * NumberOfColumns * 2 = CellBytes For example, the cell byte limit is exceeded in the following reports:
- The report has 129 columns and more than 32 rows (32 * 129 * 2
= 8,256 bytes).
- The report has 212 columns and more than 21 rows (21 * 212 * 2
= 8,904 bytes).
Note If a report has more than 32 rows, the report is split into
32-row groups and the cell byte limit is applied to each 32-row
group. WORKAROUNDTo work around this behavior, you must either reduce the number
of columns that are returned or you must reduce the number of rows that are returned. To determine whether the result set returned to the report is within
the cell byte limit, use the following
formula: NumberOfRows * NumberOfColumns * 2 = CellBytes <= 8,228 STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed in the "Applies to" section.
Modification Type: | Major | Last Reviewed: | 11/23/2004 |
---|
Keywords: | kbpending kbtshoot kbbug KB888531 kbAudDeveloper |
---|
|