Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

Problem Exporting to Excel 2007 Expand / Collapse
Author
Message
Posted Monday, November 9, 2009 8:08 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, April 4, 2013 2:35 PM
Points: 92, Visits: 189
I have created a large tablix report in SSRS 2008 that shows our daily sales for the year by day. I need this to be able to render to Excel 2007 for our execs but every time I try to export it if fails. When I try to email it through subscription I get the following error:

Failure sending mail: Excel Rendering Extension: Number of columns exceeds the maximum possible columns per sheet in this format; Columns Requested: 552, Max Columns: 256Mail will not be resent.

Is there any way around this???
Post #815814
Posted Wednesday, November 11, 2009 11:28 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, December 18, 2009 7:42 AM
Points: 9, Visits: 64
No there is no way around this. It is indicating that the reports has more rows than Excel allows (somewhere in the 65,000 range not sure). You could try narrowing the scope of the report or reducing the number of levels shown that may reduce some of the rows. What data does the report show meaning what is your structure.
Post #817353
Posted Wednesday, November 11, 2009 1:30 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Tuesday, October 14, 2014 10:58 AM
Points: 5,333, Visits: 25,272
render to Excel 2007 for our execs but every time I try to export it if fails


Specifically what error message is returned?


If everything seems to be going well, you have obviously overlooked something.

Ron

Please help us, help you -before posting a question please read

Before posting a performance problem please read
Post #817425
Posted Wednesday, November 11, 2009 1:39 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, April 4, 2013 2:35 PM
Points: 92, Visits: 189
Failure sending mail: Excel Rendering Extension: Number of columns exceeds the maximum possible columns per sheet in this format; Columns Requested: 552, Max Columns: 256Mail will not be resent.
Post #817431
Posted Wednesday, November 11, 2009 3:46 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Tuesday, October 14, 2014 10:58 AM
Points: 5,333, Visits: 25,272
I think that SSRS is NOT exporting data to EXCEL 2007.

From my Excel 2007 help file:
WorkSheet size 1,048,576 rows, 16,384 Columns.

Other improvements to Excel:

http://visio.mvps.org/Excel_2007.htm

If memory serves me correctly SSRS is attempting to export your data to Excel 2003.


If everything seems to be going well, you have obviously overlooked something.

Ron

Please help us, help you -before posting a question please read

Before posting a performance problem please read
Post #817525
Posted Wednesday, November 11, 2009 3:53 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, April 4, 2013 2:35 PM
Points: 92, Visits: 189
How can I check what version of Excel is SSRS trying exporting to? I have 2007 installed on my desktop.
Post #817529
Posted Wednesday, November 11, 2009 7:28 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, December 18, 2009 7:42 AM
Points: 9, Visits: 64
And you are using SSRS 2008 and you are getting the error using excel 2007 correct not someone else getting the error?
Post #817574
Posted Thursday, November 12, 2009 6:32 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, April 4, 2013 2:35 PM
Points: 92, Visits: 189
The error happens a) whenever someone tries to export a report to excel and b) when the report runs as a subscription with an Excel attachment.
Post #817778
Posted Thursday, November 12, 2009 6:43 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, April 4, 2013 2:35 PM
Points: 92, Visits: 189
Hey BitBucket,

I know Excel 2007 has changed to be able to host 16k columns. The problem is in the export from the server. It is trying to Export in Excel 97. Trying to find out if this is a property somewhere I can change to Excel 2007.
Post #817789
Posted Friday, November 13, 2009 9:17 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, August 21, 2014 4:21 AM
Points: 1,074, Visits: 1,153
No, the rendering engine even in SSRS 2008 uses Excel 2003 so you are limited to it's column/row limitations. You could export to CSV but then will lose any formatting.
Post #818619
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse