SSRS 2008 Export Excel Runtime Error

  • 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.

  • 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.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • I think Excel can handle only 256 columns.

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

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.

  • 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... πŸ™‚

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • 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 πŸ™‚

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • 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..

  • Dear All

    In SSRS 2008, Export to Excel Feature base on Excel 2003 so that It support only 256 columns.

  • Hi,

    In my report am having only 20 columns and data morethan 1 lakh rows.

  • 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]

  • 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

Viewing 10 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic. Login to reply