Hello David & Edgar,
There is a known issue that when exporting a report from Reporting Services
SP2 to Excel format results in the following error when trying to open the
Excel workbook:
Microsoft Office Excel File Repair Log
Errors were detected in file 'C:\Documents and Settings\<username>\Local
Settings\Temporary Internet Files\Content.IE5\4H4BKNSF\Report2[1].xls'
The following is a list of repairs:
Damage to the file was so extensive that repairs were not possible. Excel
attempted to recover your formulas and values, but some data may have been
lost or corrupted.
Further investigation indicates that this problem can occur if a field of
data type NTEXT contains more than 4110 characters.
This issue is supposed to be fixed in next edition of SQL reporting service
(sql 2005). If you believe this has big business impact, please contact CSS
open a Support incident with Microsoft Product Support Services so that a
dedicated Support Professional can work with you to evaluate this:
For a complete list of Microsoft Product Support Services phone numbers,
please go to the following address on the World Wide Web:
http://support.microsoft.com/directory/overview.asp
Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================

Signature
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Thread-Topic: Damage to file message when exporting to excel
| thread-index: AcWhwO0iSuq0BbqxT5u6w58E6hDj9Q==
[quoted text clipped - 66 lines]
| >
| > Thanks, David
Fred - 08 Mar 2006 20:47 GMT
I'm experimenting the same thing on one of my reports. I've occurs only when
I'm displaying point labels on which I apply this function :
=ROUND((Fields!CHANGE.Value)*100).TOSTRING & " %"
so there are no ntext field involved here. (I have a work around for my
problem but it requires quit a bit of code change database side)
I'm on RS 2000 sp1 (we haven't applied sp 2 yet because of custom code that
crashes under sp 2. We will be migrating to SQL 2005 in 2 to 3 months.)
thx
Fred
> Hello David & Edgar,
>
[quoted text clipped - 129 lines]
> | >
> | > Thanks, David
Anabela Silva - 30 Jun 2008 11:25 GMT
Hi there,
the same is happening in SQL Server 2005 Reporting Services SP2, when
exporting a simple report, with a table of 6 fields, to Excel format.
The table doesn't have ntext fields but nvachar(MAX) fields.
I've tried to remove the only nvarchar(MAX) field that was in the report,
and when i exported it, it worked just fine.
I've looked int the DB and some of the records have a lot of information in
this field (it is used for extensive description by the users).
I really need to have this situation solved, because i've created some
subscriptions that are sent to department directors.
Thks for any help,
Anabela
url:http://ureader.com/msg/11574946.aspx
Anabela Silva - 10 Jul 2008 10:16 GMT
Hi again,
i've discovered that the problem is that the maximum number of characters
for an Excel cell is 32767, and one of the records exported has 40878
characters in one field.
I don't like the ideia of limit the characters in the application... but
i'll have to do it
Best regards,
Anabela
url:http://ureader.com/msg/11574946.aspx