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.

Similar Messages

  • Crystal Reports 9 Export To Excel 2007

    Hi All,
    We are using Crystal Reports 9 designer in VB6 to create our reports.
    When report is generated and siplayed on the screen, the option to export the report to Excel only gives the option of Microsoft Excel 97 - 2000. We are looking to upgrade to Microsoft Office 2007.
    Question: Is there any way to update Cyrstal to allow the ability to export the Crystal Report to Excel 2007?
    Is there any dll that can be applied to present the Office 2007 export option capability?
    I am doing this to determine if Crystal Reports 9 would be able to ulitize Office 2007.

    Hello Don,
    The problem is that Excel 2007 is not offered as an option to export to to. If we upgrade to Office 2007, we need to be able to select this. The Microsoft 97 - 2000 would not work as Excel would be 2007. We don't want to have to created as Excel 2000 and then have Excel 2007 convert it. We are looking for a way to have Crystal 9 have the ability to export to Excel 2007 directly.
    Is there any upgrade to Crystal 9 that would allow Excel 2007 as an export option or would we have to upgrade to a different version of Crystal? We are trying to avoid upgrading Crystal since this would require purchasing multiple developer licenses and the report would have to be recreated using the upgraded version report designer in VB6.
    Edited by: cpscott on Feb 20, 2010 12:44 AM

  • Export to Excel 2007 failed - Invalid export DLL or export format.

    Hi,
    Environment:
    OS: Windows XP (SP3)
    Crystal Reports : 12.1.0.892
    We have a problem for exporting few reports to Excel 2007 (Export to Excel 2003 works fine for those reports).
    Getting the bellow while trying to Export to Excel 2007.
    Crystal Report Windows Forms Viewer
    Error in File CDSFUN01 {99B42BC5-2FBB-4F75-A4F5-D7B5B7B6AE0B}.rpt:
    Invalid export DLL or export format.
    OK  
    Export Report
    Export failed.
    OK  
    Its the same case even if we try to Export blank report to Excel 2007 as well. Please help.

    I will make sure that I am on the latest patch ie SP4
    https://smpdl.sap-ag.de/~sapidp/012002523100008782452011E/cr2008sp4.exe
    You can find the rumtimes here:
    MSI:
    https://smpdl.sap-ag.de/~sapidp/012002523100008782532011E/cr2008sp4_redist.zip
    MSM:
    https://smpdl.sap-ag.de/~sapidp/012002523100008782522011E/cr2008sp4_mm.zip
    ClickOnce
    https://smpdl.sap-ag.de/~sapidp/012002523100008782442011E/cr2008sp4_clickonce.zip
    Recompile the app and then deploy.
    What is the .NET Framework used by the application?
    Method of deployment?
    OS where app is deployed, x86 or x64?
    Are you able to export the report from designer ie CR2008 Standalone?
    - Saurabh

  • Problem in Exporting to Excel 2007 using CRServer 2008

    Can anyone please help me know the difference between Crystal Reports Server 2008 and Business Objects XI R2? Both the support guides says that it supports Office 2007. I have a problem in exporting the reports to Excel 2007 .I have downloaded the trial version of Crystal Reports Server 2008 but still unable to view my complete reports in Excel 2007 through infoview because few of my report's colums are truncated and it still exports in Excel 2003.I have LiveOfficeXIR2_SP4 and Office 2007 installed. Is it so that i have to switch over to Business Objects XI R2 or any other to solve my problem instead of using Crystal Reports Server 2008 or is it the problem with the version of my Live office.Pls help me regarding this..
    Babita.

    Hi Ani,
       First Thank you for your reply..I have already tried exporting it in Excel 2003 but since the limit is upto 256 columns and that my report's content exceeds this limit, few of the columns are truncated. Thats why i thought that it would be better to export it in Excel 2007. But i could'nt find any way to do it so..Pls help me if there is any other way..
    Babita.

  • 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

  • Project Server 2010 export to Excel 2007 fails

    I keep getting the following error when I try to export Resource Availability to Excel.  I am using Project Server 2010, Excel 2007, IE8, Windows 7.  I have PS set as a intranet site with low security set.  Coworkers with the same setup are
    not having this issue.  I have tried exporting to Excel with Excel open, Excel closed, on a hardwire network connection, on wireless network connection, on my corporate VPN and not on my corporate VPN. 
    Microsoft Office Excel cannot access the file "URL here" for the possible reasons:
    -The file name or path does not exist.
    -The file is being used by another program
    -The workbook you are trying to save has the same name as a currently open worklbook.
    Please provide suggestions on what to try differently to make the export work.  I have tried downloaded other version of IE and have the same issue.

    Hi Julia,
    since nobody jumped in, I'll give a try!
    Have you tried to reinstall Excel or at least repair it?
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Export to Excel (2007)

    Hi,
    i've got the followoing question.
    since the result of the query exeeds 65000 rows we need to export it into excel 2007, but in the menu it shows only .xls, .htm, .txt, etc formats no .xlsx, could please someone tell how can we handle it, to make it possible to export data into excel 2007 as well?
    has it something to do with the version? we are using 10.1.2.1.
    thanks in advance.

    you could export it as a txt file them open it using excel 2007? ive just tried it on a file that is 85000 rows and it worked fine. just right clicked on the txt file and open with excel?
    i know its not ideal, but it works :-)

  • Can BIP export in excel 2007

    Hi All,
    I want to output a BIP report in excel 2007. If I would develop the RTF template in excel 2007 then would the output be also in excel 2007 or this depends upon what version of microsoft office is implemented on the server where BIP is installed ?
    I know this could be a silly question but could anyone please reply to this?
    Thanks,
    Ronny

    Thanks Domnic for the reply,
    So this means that if I would develop my rtf template in word 2007 and then try to view the output as "Excel" it would show me in excel 2007, right?
    Thanks,
    Ronny

  • Enable Excel 2007 format export on Crystal Reports Server 2008 - Sharepoint

    I'm trying to use Sharepoint's excel services to post some charts from an exported Crystal report to sharepoint.  However Crystal Reports Server 2008 only exports excel 97-2003 format.  How can I update the Crystal Reports Server 2008 components to support Excel 2007 format.  Has anyone done this before?
    Thanks,
    Dominic

    Unfortunately what you are looking for is not possible (At least as far as I know).  Crystal is limited to the formats that it already has - and it is not possible to add additional export formats.
    Sorry
    Shawn

  • Warning message when exporting a Financial Report to Excel 2007

    Excel 2007 users that attempt to export a fully formatted Financial Report into Excel 2007 get the following error message:
    "The file you are trying to open, 'FileName.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?"
    I am still researching the behavior that users get when they click through the message, but would ideally like for the message not to appear without updating the client machine registries. Has anybody else run across this?
    Excel 2007
    BI Plus version: 9.3.1.0.0.248

    It looks like this is a known issue addressed in Bug 7359171 - EXPORT TO EXCEL 2007 CAUSES FILE FORMAT WARNING:
    The current design does not allow you to open HTML content from a web site in Excel unless the extension of the URL is .HTM/.HTML/.MHT/.MHTML. So ASP pages that return HTML and set the MIME type to something like XLS to try to force the HTML to open in Excel instead of the web browser (as expected) will always get the security alert since the content does not match the MIME type. If you use an HTML MIME type, then the web browser will open the content instead of Excel. So there is no good workaround for this case because of the lack of a special MIME type for HTML/MHTML that is Excel specific. You can add your own MIME type if you control both the web server and the client desktops that need access to it but, otherwise the best option is to use a different file format or alert your users of the warning and tell them to select Yes to the dialog.
    Another Workaround :
    Client Configuration of Extension Hardening.
    Client desktops can change the default behavior of the security check using a registry key. The following registry key can be set to alter the behavior ofthe Excel 2007 client in the following ways:
    Key: HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\SecurityValue: (DWORD)"ExtensionHardening" = [0 = Disable check; 1 = Enable check and prompt; 2 = Enable check, no prompt deny open]Default setting if value not present is 1 (enable and prompt).
    The client can configure the site to disable the check by setting ExtensionHardening = 0. This will stop the prompt from appearing, but it will also disable any future checks for the file content validity. This does not (in itself) lower your security. The check is part of a defense-in-depth strategy to prevent malicious users from crafting files of a different type than its extension (or MIME type), which could then be used to trick users into opening a file of a type they did not expect. This warning is designed to let the user know of this potential threat and given them an option of canceling the open if they wish.

  • Exporting Oracle 10g reports into Excel 2007

    Does anybody knows if there exits compatibility with the export function to Excel 2007?
    Some users will be installing this Excel version and i don't know if the formatting and displaying will be similar as using previous versions. They use the export function available from Discoverer Viewer.
    We have Oracle Discoverer Administrator version 10.1.2.1 and Discoverer Administrator client 10.1.2.48.18.
    Thanks!

    This is an old thread, but I was hoping there might be an update for it. The workaround of exporting to a .csv does work, but we need to be able to export to excel 2007. We have Discoverer Plus 11g and there doesn't seem to be an option to export to 2007's xlsx (just xls). Is there a way to add xlsx an an option to export to?
    I saw the metalink document describing why exel 2003 (& 2007) behaves the way it does, which is fine. If that's the case, I (or my users more specifically) don't want to use it. Truth is, most users balk at extra steps (even a simple one like manually picking .csv), and the happier they are the easier my job is. They need to be able to export to the 2007 xlsx version which supports 1 mil rows per sheet. Can that format be enabled in Plus 11g?
    Thanks
    Edited by: user527082 on Jul 31, 2012 9:17 AM

  • Crystal Reports 2011 - excel 2007-2010 export

    Hello,
    I just upgraded to crystal reports 2011 from crystal reports XI Release 2. I am having an issue exporting to excel 2007-2010 format. When I do an export and then open it in excel, excel gives me an error message that the file is corrupt and if I want to recover the contents. When I try and recover the contents, I am greeted with the error below. I am not sure what to do to fix it and would appreciate any help.
    Removed Part: /xl/sharedStrings.xml part with XML error.  (Strings) Illegal xml character. Line 3, column 19160.
    Removed Records: Cell information from /xl/worksheets/Sheet1.xml part

    Hi Marina, 
    What version of Excel are you using to open the report? 
    Have you tried creating a simple report and exporting it?  It's possible something in that report is causing the problem. 
    Good luck,
    Brian

  • OBIEE 11.1.1.7 Exporting to Excel 2003 and 2007 difference

    Hi
    I have a simple analysis, a couple of measures, some formatted so tat if they are negative show them as Red, minus, 1 decimal and thousand separator. Another measure is not formatted to be Red, just black, minus, 1 decimal and thousand separator.
    So ... now to the issue. When I export to Excel 2003 the measures are fine, the numbers are numbers, all fine and dandy.
    When I export to Excel 2007+ ... the red minus numbers are now text and impossible to change them all to number. I can only convert to number those that are less than 1000 ... the rest are just impossible.
    The other measures, the ones that are black, minus, 1 decimal and thousand separator ... are numbers in Excel 2007+.
    Why?
    What can I do to solve this?
    Kind Regards

    Sorry guys ... forgott to say that I'm not the one exporting to Excel ... is my business user and I cannot ask them to save the reports to another format or to cast a column or more?
    I will try them both and see what happens ... but this is something that Oracle must fix. It's the year 2013 for godness sake!! This is not a Beta software. In my opinion this is so ridiculous I can hardly find words for it hahahaha
    I have tried to cast and convert ... well that doesn't work and I found that some people are using macros to convert text to numbers in Excel ...
    Sub txttonum()
      For Each tcell In Selection.Cells
      If TypeName(tcell.Value) = "String" Then
      tcell.Value = Val(tcell.Value)
      End If
      Next
    End Sub
    As goes for the CSV option ... I just cannot ask my business user to copy from a CSV file to the Excel file they want to work on, not even if they are advanced Excel users.
    Thanks for your suggestions, I really that the cast would work ...
    Any other suggestion.

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

  • Excel 2007 Window Minimizes while typing

    Hi,
    We have a user with a slightly different type of issue.  The user has 2 monitors, and when Excel is in the second screen, the active window will sometimes, suddenly, become minimized.  We have been able to reproduce this event, and confirmed that
    no keyboard shortcut is being pressed to cause this.  Also, not all windows on the 2nd display minimize - just the active Excel window. 
    Finally, when this happens, the window seems to just disappear, not a "fade to the taskbar" like a normal "minimize" function.  The document is closed, so there is no data loss, but the work-flow is interrupted and is very frustrating
    for this VIP user.
    We are running Office 2007 with Outlook 2010, and all the latest updates and service packs.
    Any help you can suggest would be appreciated.
    Thank you,
    Jeff

    Hi Raju,
    Visit these links:
    1. Microsoft Excel 2007 Query Error
    2. Re: SAP 7.10 to Excel 2007 export problem - blank sheet
    3. Re: ALV export to Excel 2007 w/ SAPGUI 7.1 patch 9 as integer not text
    These links are simillar to your problem. May it solve your problem.
    Regards.
    Deepak Sharma

Maybe you are looking for