Excel openrowset works on 32 bit but not 64 bit?!?!

  • I've been around all the usuall suspects, I got the right file path, the command works on another server, it's not permissions issues...

    SELECT *

    from openrowset('Microsoft.Jet.OLEDB.4.0',

    'Excel 8.0;Database=C:\TireGuideImport\tgpro_oe_1002b_excel;HDR=YES',

    'select * from [tgpro_oe_1002b_excel$]')

    I got this error and apparently there's no plan to have a 64 bit version of the driver (which is why the driver is missing on windows 2008 server 64 bit).

    The OLE DB provider "Microsoft.Jet.OLEDB.4.0" has not been registered.

    Any easy way around this without learning and installing SSIS?

  • Ah, yes, the old Jet issue. Not only did I have to use SSIS, I had to run it at the command prompt using the 32 bit version of SSIS because the 64 bit version couldn't do it either. AFAIK there is no other way but should someone else have a way I don't know of I would GREATLY appreciate adding it to my toolkit. Once burned a week trying to solve that.

  • There wouldn't be a 64-bit Jet Driver. Perhaps with the latest Office2010-64bit edition

    With SSIS

    http://www.sqlservercentral.com/articles/Integration+Services+%28SSIS%29/70636/

  • You won't be able to do this with the Jet engine on 64-bit.

    I thought I had read somewhere about a month ago that there is now a 64-bit driver for Excel, but I can't find anything with Google.

    Wayne
    Microsoft Certified Master: SQL Server 2008
    Author - SQL Server T-SQL Recipes


    If you can't explain to another person how the code that you're copying from the internet works, then DON'T USE IT on a production system! After all, you will be the one supporting it!
    Links:
    For better assistance in answering your questions
    Performance Problems
    Common date/time routines
    Understanding and Using APPLY Part 1 & Part 2

  • You might consider writing this out as a CSV file - Excel will directly import it.

    Wayne
    Microsoft Certified Master: SQL Server 2008
    Author - SQL Server T-SQL Recipes


    If you can't explain to another person how the code that you're copying from the internet works, then DON'T USE IT on a production system! After all, you will be the one supporting it!
    Links:
    For better assistance in answering your questions
    Performance Problems
    Common date/time routines
    Understanding and Using APPLY Part 1 & Part 2

  • It is kind of convoluted when you search for it..

    I believe this will get you what you want:

    Access Database Engine 2010

    Follow the link..

    CEWII

  • Elliott Whitlow (8/25/2010)


    It is kind of convoluted when you search for it..

    I believe this will get you what you want:

    Access Database Engine 2010

    Follow the link..

    CEWII

    Thanks Elliott - I KNEW I had seen this somewhere recently.

    Wayne
    Microsoft Certified Master: SQL Server 2008
    Author - SQL Server T-SQL Recipes


    If you can't explain to another person how the code that you're copying from the internet works, then DON'T USE IT on a production system! After all, you will be the one supporting it!
    Links:
    For better assistance in answering your questions
    Performance Problems
    Common date/time routines
    Understanding and Using APPLY Part 1 & Part 2

  • Thanks you all, I'll try this out next monday.

    Have a great week-end

  • This functionality is only about 5 years late.

    They should have had this ready in 2005...

    You guys have a good week.

    CEWII

  • Elliott Whitlow (8/25/2010)


    This functionality is only about 5 years late.

    They should have had this ready in 2005...

    You guys have a good week.

    CEWII

    Agreed - it should have been ready when 64-bit SQL started really being pushed. One of the things that users want in most companies is excel spreadsheets - and not being able to generate it is absurd.

    Wayne
    Microsoft Certified Master: SQL Server 2008
    Author - SQL Server T-SQL Recipes


    If you can't explain to another person how the code that you're copying from the internet works, then DON'T USE IT on a production system! After all, you will be the one supporting it!
    Links:
    For better assistance in answering your questions
    Performance Problems
    Common date/time routines
    Understanding and Using APPLY Part 1 & Part 2

  • Well we could generate them but having to jump through hoops because a provider wasn't available is absurd.

    When we switched from 32 to 64-bit sql this was one of the very first problems I experienced and about the only advice at the time was run it with the 32-bit DTExec. There were NO other methods.

    I am hoping these new drivers will fully resolve the issue with JET based drivers,

    CEWII

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

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