SSRS 2008 R2:Export to excel error

Hello,
I have a report which has 28 columns, one expression for generating alternate row colors, 2 images in the page header. Users are able to render the report in report manager url with in 20 seconds but they are unable to export the report to excel even with
a data of just 7000 rows.We are getting the following error: Internet explorer cannot download YearToDate report The connection with the server was reset. We are currently using sql server 2008 r2 10.50.2500. I have modified database connection
timeout to 900 ,httpRuntimeexecutionTimeout="9000", maxRequestLength="102400" , iis connection timeout is 900 sec.  We found that If we subscribe the report as email in excel format then we are getting the report but users requirement
is export to excel from report manager only.
Please Help !!
Thanks a lot in advance.

Hi Satyadevs,
If I understand correctly, when you try to export a report to excel on Report Manager, you have received the error message. And when you examine the Report Server log, the log indicates that the export request was fulfilled.
The following KB is about a similar issue: FIX: Error message when you try to export a SQL Server 2008 Reporting Services report by using Report Manager: "Internet Explorer cannot download <ReportName>.xls
from <URL>"
In Microsoft SQL Server 2008 Reporting Services, when you try to export a report by using Report Manager, you receive the following error message:
Internet Explorer cannot download ReportName.xls from URL.
The connection with the server was reset.
However, when you examine the Report Server log, the log indicates that the export request was fulfilled.
The fix for this issue was first released in Cumulative Update 2. Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 fix release. We recommend
that you consider applying the most recent fix release that contains this hotfix:
Cumulative update package 10 for SQL Server 2008
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • Export to Excel Error in SQL Server 2014 Report Builder/Viewer

    Hi,
    I am using the 2014 version of ReportViewer in a WinForm to display an RDL report.
    The report was originally created in Report Builder 2.0 (SQL 2008 R2), but has since been edited in Report Builder 3.0 (SQL 2014).
    The report loads and displays OK, and even exports to Word and PDF. But when exporting to Excel and then opening the Excel document, the following error occurs:
    "We found a problem with some content in <filename>. Do you want us to try and recover as much as we can? If you trust the source of this workbook, click Yes."
    If you click Yes, then a second message appears:
    "Removed Part: /xl/styles.xml part.  (Styles)
    Repaired Records: Cell information from /xl/worksheets/sheet1.xml part"
    The Excel document then opens, and the data is there, but there is no formatting (no border columns, colours, bolds etc.)
    The three interesting things are:
    - When exported from SQL 2008 R2 Report Builder 3.0, which exports to .xsl instead of .xslx, it works
    - A brand new report created in 2014 Report Builder 3.0 exports to .xslx great
    - In Report Builder 2014, I stripped everything back and removed all rows and columns so the original table in the report only has one empty row and column it the export still errors - it is only by removing the original table and creating a brand new table
    that export works OK
    It appears to be a problem with the tablix, but ideally we don't want to have to recreate our reports from scratch to fix this issue.
    Has anyone come across an issue like this before, and know of any potential resolutions to it?
    Thank you.

    Hello,
    Based on your description, you render a report originally created in Report Builder 2.0 (SQL 2008 R2) and export the report to excel with format of Excel 2007-2010.
    Edit the report in Report Builder will not upgrader the report. In that case the report still with SSRS 2008 R2 RDL schema. Please try to upgrade the report by open the report in Report Designer in SQL Server Data Tools (SSDT) and then try again.
    If you don’t want to upgrade the report, please try to export the report
    with Excel 2003 rendering extension and check if the issue persists.
    The SQL Server 2014 and SQL Server 2012 Reporting Services Excel rendering extension renders a report to the native format of Microsoft Excel 2007-2010 with .xlsx as file extension. Only the Excel rendering extension is available by default.
    You must update the Reporting Services configuration files to make the Excel 2003 rendering extension available.
    For example, changing the value of Visible to
    true in the following line in the RSReportServer.config:
    <Extension Name="EXCEL" Type="Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer,Microsoft.ReportingServices.ExcelRendering"
    Visible="true"/>
    Reference:Upgrade Reports
    Exporting to Microsoft Excel (Report Builder and SSRS)
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • SQL 2008 R2 Export to Excel 2007

    I want to export data using the Import and Export Utility to Excel 2007.  
    I choose a destination of Microsoft Excel and choose an existing (empty) Excel 2007 .xlsx file. 
    The following errors result.  A new worksheet is created in the Excel file with the name of the table and with column headings but no data.  If I repeat the export choosing the now existing Excel file it works fine.
    How can I make it work the first time?
    - Pre-execute (Error)
    Messages
    Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E21.  (SQL Server Import and Export
    Wizard)  
    Error 0xc0202025: Data Flow Task 1: Cannot create an OLE DB accessor. Verify that the column metadata is valid.  (SQL Server Import and Export Wizard)  
    Error 0xc004701a: Data Flow Task 1: component "Destination - RELEASE_LOG" (58) failed the pre-execute phase and returned error code 0xC0202025.  (SQL
    Server Import and Export Wizard)  
    - Executing (Warning)
    Messages
    Warning: Preparation SQL Task 1: Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done. (SQL Server Import
    and Export Wizard)  
    Warning: Preparation SQL Task 1: Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done. (SQL Server Import
    and Export Wizard)  

    Thanks for your reply.
    I think the datatypes are correct.  
    This is the sql for the SQL 2008 table:
    CREATE TABLE [dbo].[q_table](
    [Q_No] [nvarchar](40) NOT NULL,
    [data1] [nvarchar](255) NULL,
    [data2] [nvarchar](255) NULL
    ) ON [PRIMARY]
    This is the sql for the Excel table create.
    CREATE TABLE `q_table` (
    `Q_No` LongText,
    `data1` LongText,
    `data2` LongText
    There is only one row in the table:
    Q_No data1
    data2
    2 444 aaa
    The same export works fine if I select .xls (Excel 1997-2003).  This error happens with every table I try to export to .xlsx.  I created this table and export to try to debug the issue.
    We do this sort of export all the time and I want to use 2007 becuase we often have more than 65K rows to export.  Now we export to Access and then export to Excel but it adds time to the job.

  • Ssrs 2008 r2 export to csv file problem

    In an SSRS 2008 R2 report, the users are going to export the data to: csv (comma delimited) and  excel.
    I am using the following to display if a column is visible or not:
    =IIF(Mid(Globals!RenderFormat.Name,1,5)="EXCEL" AND First(Len(Fields!CustomerNumber.Value)) > 0,False,true).
    I have set the DataElementOutput=Output for the textbox that displays the value. I have left  DataElementOutput=Auto for the textbox that contains the column header.
    When exporting to csv (comma delimited) or excel, I basically want the column to be visible when there is data in the field and the column not to be visible when there is no data.
    The code works for excel but the code does not work for comma delimited.
    Thus can you tell me what I can do so the column is not disaplyed when the data is exported to csv (comma delimited)?

    I don't think what you are trying to do is supported in .CSV files as it only saves text and values.  See the following article:
    http://office.microsoft.com/en-us/help/excel-formatting-and-features-that-are-not-transferred-to-other-file-formats-HP010014105.aspx
    If you open a .CSV file using excel you can use formulas, but if you try and save it, it will not allow you to.  I assume this is what you are trying to do.

  • SSRS 2008 R2 SharePoint 2010 integration error?

    Hi, I have SSRS 2008 R2 in SharePoint 2010 integration mode. I'm getting kind of strange error with below scenario:
    1) SSRS report has data-source to SQL Server 2008 R2 database store procedure.
    2) SQL Server procedure execute SELECT query using linked server to Oracle database (Oracle driver).
    3) SSRS report has parameter call 'Customer' which allows user to filter the data. This customer report parameter drop-down is also get execute SQL store procedure and get data from Oracle linked server.
    Oracle database  <---------> SQL Server 2008 R2 (SQL procedure & linked server to Ora) <-----> SharePoint SSRS Report
    Problem :  When user select one customer from parameter drop-down and click 'Apply' to render report it works. But if user change report parameter then it got error. This error is relate to can't execute main SQL procedure Oracle package to linked server.
    Not sure why this happening when user select new parameter value and got this error? Interesting enough, I replicate scenario using Visual Studio 2008 and run report with different values by selecting customer parameter and it works perfectly fine! Not sure
    why it doesn't work on SSRS report on SharePoint? FYI - all properties to SQL linked server and report data-source are set to default values.
    Any idea? like SharePoint do some-sort of caching report data-source or any other hints where things going wrong? Thanks.

    Hi KM,
    Thanks for your post.
    It seems a little strange. Do you mean the reports is working fine with parameter change behavior in report design tool(Visual Studio 2008), however, when you publish this report from design tool to Reporting services SharePoint site, it works with only
    default parameter values, once you change the parameter value, you would encounte the error “can't execute main SQL procedure Oracle package to linked server”? If so, I would suggest you to create a SQL Agent job  on your SQL Server engine to timely synchronous
    data from Oracle database to SQL Server Database, and then you can create report to retrieve the relevant data from SQL Server table objects.
    Thanks,
    Bill Lu
    Bill Lu
    TechNet Community Support

  • Crystal Report Export To Excel Error: "Error detected by Export DDL"

    I have a windows application in .Net 2003, whenever i export the crystal report on my development machine or other windows xp machines it runs smoothly, but when i deploy the application on client's machine having windows vista installed, it displays error of "Error in file........., Error detected by export DLL"
    pls help me.

    First thing to look at is the wiki [What versions of Crystal Reports are supported on Windows Vista in VS .NET?|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=64259646].
    Note that CR 9.1 is not supported on Vista. And if CR 9.1 is not supported on Vista, any earlier version of CR will also not be supported on Vista. That is not to say the app(s) will not work, they may - or not. You never know... and we have no experience with these types of installs as we don't need to have it.
    Next, have a look at KBase [1205312 - "Error detected by export DLL" while exporting to Excel after applying SP2 on Windows 2003 Server|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303335333333313332%7D.do]. Not exactly the same OS, but I'd follow through on the suggestions in that KB anyhow.
    Finally, If this app works on a Vista box when a VB 6 app  is not installed, compare the dlls loaded between that box and the one that has both apps. Use [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] to do that.
    Other than that, only suggestion I have is to upgrade to a version of CR that does support Vista.
    - Ludek

  • Export to excel error - NOT windows 2003 server

    hello everyone, I'm facing this kind of prblem: exporting to excel gives an error. no error when exporting in pdf or rtf. I read a number of threads on the matter: a hotfix was released to solve the problem on windows2003 server, which is not the case here. The used system is winxp sp3. I've also read that goig back to a sp2 might solve the problem, but that's certainly not an option. Anybody has any idea?
    using:
    windows xp sp3
    .net framework 2
    crystal report XI (not embedded)
    visual c# 2005
    thanks in advance

    With .NET 2005, you have to move on to CR XI r2 (11.5). No sense continuing with CR 11.0. As you already have CR 11.0, you can download CR XI r2 for free from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006008462008E/crxir2.zip
    Uninstall CR 11.0 before installing CR 11.5. Use your CR 11.0 keycode when installing CR 11.5.
    Once you have CR 11.5 installed, check the version. I want you to be at 11.5.1838 (I am not sure of the exact SP that is in the download). If you are at a lower version, apply SP 6 from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe
    The references in you r.NET project should be 11.5.3700.0. See how things go in your app once you are at CR 11.5.
    As an FYI.; Sp 6 runtime;
    msm:
    https://smpdl.sap-ag.de/~sapidp/012002523100000634042010E/crxir2sp6_net_mm.zip
    msi:
    https://smpdl.sap-ag.de/~sapidp/012002523100000633302010E/crxir2sp6_net_si.zip
    Ludek

  • MSS Report Export to excel - ERROR - load: class query not found

    Hi All,
    I am navigating and getting error as follows:
    Manger Services ->My reports -> Report Selection -> HIS Reports -> General -> Employee Details -> add some people and click start report -> report shows -> click local file -> save as spreadsheet get ERROR - load: class query not found in the status bar or IE and IE then locks up
    Please reply if any one has some clue.
    Thanks & Regards,
    Vishal

    Hey Vishal,
    This issue gave us a  very hard time. The query was HRIS manager. when you add some attributes to be exported to excel and then select export. It hangs there. or hangs at the step where you select save as spreadsheet, OR after it where it runs a query to export.
    I came to know that Java JRE is used in the last step. So for solving this issue, go to java.com, on the first screen there will be big link to install java(i guess JRE). install it and then try exporting your query. I am sure it will work.
    Just notice that after doing installation of Java you will get coffee cup in you system tray.
    Thanks.
    Ankur.
    P.S. Points if works.

  • Crystal Report  export into excel error

    Dear All,
    please suggested Me below issues.
    i created crystal report for sales employee.report is coming correct but while export to excel is showing alignment problem.same report export to pdf is good.i want to export this report to excel without change the alignment.How plz suggested me how to do this?
    Thanks&Regards,
    P.Pratap

    hi taruna and pankaj
    Thank you for  your valuable replies.
    i have deleted all space's between fields in report and While Exporting crystal report into excel i selected  Microsoft Excel Data  only Option.
    Now report is exported without changing alignment.
    Thanks& Regards,
    P.Pratap

  • Export to excel  : Error no class found

    Hello Experts,
    I am facing a problem  while exporting the data into excel sheet.
    DC1 : i have created library dc which contains jxl.jar file in library folder
    DC2 : j2ee library DC--->DC1 is the used dc in this and DC2 build and deployed successfully
    DC3 : webdynpro dc -->DC1 and DC2s are used DC  (checked build time and runtime)
    error  :
    The initial exception that caused the request to fail, was:
    java.lang.NoClassDefFoundError: jxl/format/CellFormat
    at com.pasteur.sku.global.wd.app.wdp.InternalVTab_Bord_SKU.<init>(InternalVTab_Bord_SKU.java:462)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    Both DC2 and DC3 s are successfully build and deployed
    How to confirm that the jar file is exist in j2ee library by using visual admin
    please help me out to fix the issue
    Thanks in advance for your reply.
    Regards,
    Fayaz Shaik.

    Then, its because at runtime when the application tried to look for the external api containing the excel methods then it does not find the jar on the server.
    The compiler works as the IDE is able to locate it within its folders.
    Check the deploy DC. Build a separate DC and try it. Check if the necessary references(if any any) are configured. - No direct solution, just Plain Old, keep doing it again and again till you find the actual issue.
    All the best.
    Regards,
    Sharath

  • PDF Export to Excel Error

    I cannot convert a pdf to Excel. I just went through the process of buying the required software. Can someone help?

    Hi ,
    Could you please elaborate more about the issue ?What exactly are you trying to perform and how are you trying to do the same?
    Are you using Adobe Reader or Adobe Acrobat to export PDF to excel?
    What software version are you using?
    Also ,could you please tell what is that error message and it would be wonderful if you could share the screenshot of the error message with us so that we can assist you accordingly .
    I would also like to know what OS do you work on ?
    Is it happening with all kinds of PDF you are trying to convert or any specific one?
    Please update me with above mentioned details so that we can assist you further .
    Regards
    Sukrit Dhingra

  • IR Export To Excel error

    We have an IR in Apex 4.1 which contains 99 report columns, and 1000+ rows.
    The IR displays correctly on the screen, and when we try and Download to CSV it works ok (we get all columns and rows).
    But when we try and Download to Excel we get;
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    If i reduce the number of columns to 40 or less the Download works ok. It appears there is limit in either number of columns or row size but i can't find a definitive answer anywhere.
    Anyone shed any light on this?
    TIA

    Hi,
    You have created icons alright but from the code i see that you haven't called any function to execute the action.. I am not sure whether WAD 3.5 has these preconfigured icons where you can just drag and drop these functionalities... I guess you have to call these functions..
    Generally when a 'Submit' button is clicked in a web page it calls a program (Ex submit.asp or submit.aspx) in the background where the given details is submitted to a database...
    Regards,
    Kishore

  • Web Report export to Excel error

    Hello:
    I face the problem as follow:
    When I export web report to excel and open it. The characteristic value no display, and the key figure as usually.
    How to solve this problem? Hope anyone can give me some advices!
    Regards&Thanks!
    zagory

    Hello:
       EXP:
       A(context menu)         B        C(Key Figure)
             ablank         ablank          2000
             ablank         ablank          5000
    Hope anyone can give me some advice to solve this problem.
    Regards&Thanks!
    zagory

  • Error: export to excel

    There is a standard functionality in crm 7.0 - export to Excel of search results.
    Export to Excel doesn't work on some client computers.
    Error of coding to excel document.
    Client computers:
    1.WinXP SP3
    2. MS Excel 2003 (11.8169.8172) SP3
    3. IE 7.0.5730.11
    Options identical on computers (language, safety options of windows and excel).
    I can not find a solution of a problem. Help me, please.

    Hi,
    May I know the detailed error?
    There will be an error message?
    Or no data transported into excel?
    Or some data can't be exported into excel?
    what is the file, is it csv or xls?
    If the problem only happens to csv, please try to set
      Internet Options -> Security -> <<select sites>> -> Custom Level...
      ->
    Initialize and script ActiveX controls not marked as safe for scripting
    please set it as Enable.
    And there is a note 1403747 which can solve sometimes there is no data exported into excel error.
    if it is some data can't be exported to excel, are there special characters? like " -, please change to xls and retest.
    If still not help, please try to debug into
    CL_CHTMLB_XML_PROVIDER
    GET_XML_FROM_MODEL
    and also some other methods in this class.
    Hongyan

  • Scheduled Report: Export to Excel (Data Only) Fails

    I have an issue with a new installation of Crystal Reports Server 2008. When I try to schedule a report for extract to Excel (Data Only) the report fails with the following error:
    Error in File ~tmp202064233ce6330.rpt: Operation not yet implemented.
    We have scheduled the report using Word, PDF, text and they all work however the Excel (Data Only) format fails everytime with this error.
    I have no problem opening the report in Crystal Reports 2008 and Exporting to Excel Data Only format manually.
    Thanks in advance!
    Lee

    Hi,
    i just saw a note about the same Problem for BOE XI Rel.2. There it is a Bug.
    I would recommend you install the latest SP for your CRS and try again.
    Regards
    -Seb.

Maybe you are looking for

  • Installed helpdesk to sles11sp1 vmware and won't startup

    Hi, I installed the service desk to sles11sp1 for vmware and it won't startup. I am also running zenworks configuration mgmt 11 RC3 on the same server. I installed with: java -install install.jar -console When prompted for a port I took the default 8

  • Error Code -42408

    When trying to turn on Genius in iTunes 10.7, I receive the following error message: An unknown error occurred (-42408). Does anyone know what this code refers to and how to resolve this issue? Please note that this happened as a result of upgrading

  • Dynamic class calling

    Hi All, I want to know the same class name which I am executing in the constructor of the class. Is there any system variable which stores this information. Like for example sy-repid for reports. Then after getting the calss name in string  how I am

  • Setups in Database installation or patch application

    Hi all, In the database installation or patch application, in the unzipped directories you have multiple setup.exe files along with oui.exe. For example: in 10g you have one setup.exe under directory 10gR2_server\database also you have one setup.exe

  • Add on Required

    Hi , Can any one tell detailes of conolidation addon(we have three company so that i need to tranfer all transaction to new database and in i need all balance sheet , PL of group of companies) Regards srinivas Edited by: sura srinivasarao on Oct 23,