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

SSRS 2008 Export Excel Runtime Error Expand / Collapse
Author
Message
Posted Thursday, November 17, 2011 8:55 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, August 4, 2014 7:58 PM
Points: 24, Visits: 128
Dear All,
Anyone know what wrong with SSRS or limitation o f SSRS for exporting to EXCEL.. I have report that have more than 257 columns, when i export to excel there is an runtimn Error as shown below...


Server Error in '/Reports' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

Thanks All.
Post #1208072
Posted Friday, November 18, 2011 3:17 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 11:28 AM
Points: 13,641, Visits: 11,517
I think Excel can handle only 256 columns.

In my opinion, a report with more than 10 columns is not user-friendly anymore.
If you have more, you are just creating data dumps. Better export to CSV in that case.




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1208181
Posted Friday, November 18, 2011 3:35 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 12:24 AM
Points: 5,317, Visits: 12,355
I think Excel can handle only 256 columns.


True for 2003. 2007 onwards allow 16,384 columns, requiring a truly microscopic font in SSRS



Help us to help you. For better, quicker and more-focused answers to your questions, consider following the advice in this link.

When you ask a question (and please do ask a question: "My T-SQL does not work" just doesn't cut it), please provide enough information for us to understand its context.

It is better to keep your mouth shut and appear stupid than to open it and remove all doubt. (Mark Twain)
Post #1208195
Posted Friday, November 18, 2011 3:48 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 11:28 AM
Points: 13,641, Visits: 11,517
Phil Parkin (11/18/2011)
I think Excel can handle only 256 columns.


True for 2003. 2007 onwards allow 16,384 columns, requiring a truly microscopic font in SSRS


Or a lot of A0 pages...




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1208204
Posted Friday, November 18, 2011 3:49 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 11:28 AM
Points: 13,641, Visits: 11,517
Phil Parkin (11/18/2011)
I think Excel can handle only 256 columns.


True for 2003. 2007 onwards allow 16,384 columns


This makes the solution:
upgrade from office 2003 to office 2007/2010.
We're almost 2012, your current version of Office is nearly a decade old!

edit: and I'm typing this on my current project where I have Windows XP with Office 2003. I'm such a hypocrite :)




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1208206
Posted Thursday, December 29, 2011 5:07 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Monday, September 22, 2014 8:14 AM
Points: 35, Visits: 42
Hi All,
Am also got the same error while exporting the data into excel2010.am having the data of 9000 pages.

Server Error in '/Reports' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>


Thanks in Advance..
Post #1227725
Posted Thursday, December 29, 2011 6:18 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, August 4, 2014 7:58 PM
Points: 24, Visits: 128
Dear All
In SSRS 2008, Export to Excel Feature base on Excel 2003 so that It support only 256 columns.
Post #1228128
Posted Thursday, December 29, 2011 8:37 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Monday, September 22, 2014 8:14 AM
Points: 35, Visits: 42
Hi,
In my report am having only 20 columns and data morethan 1 lakh rows.
Post #1228152
Posted Thursday, December 29, 2011 11:10 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, August 4, 2014 7:58 PM
Points: 24, Visits: 128

Dear All

"This information comes from SQL Server 2008 Books Online (November 2009):

Excel Limitations -- Excel places limitations on exported reports due to the BIFF's format capabilities. The most significant are the following:
•The maximum number of rows in a worksheet is limited to 65,536. If this is exceeded, the renderer displays an error message.
•The maximum number of columns in a worksheet is limited to 256. If this is exceeded, the renderer displays an error message."


Information from [url=http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/13952667-9b80-47ba-ac3f-6fa65eb224d1/][/url]
Post #1228177
Posted Friday, August 8, 2014 6:48 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, August 8, 2014 6:47 AM
Points: 6, Visits: 4
I have encountered same error today. and i found that the image format was the issue. in my report i have used was causing the issue. so i have deleted the image and updated new image with .jpeg format and now the issue is resolved. please check if any image is cause the issue? and one more thing,

if you want to know what is the error please go to report server and check the log file.
you may find the proper error message as i did. any issue please let me know.

Dilip Chauha. dilipc01@gmail.com
Post #1601147
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse