SQL Server 2008,Windows 2008 x64 and Excel

  • blessonblessons

    SSC Eights!

    Points: 929

    Comments posted to this topic are about the item SQL Server 2008,Windows 2008 x64 and Excel

  • Florian Reischl

    SSC-Dedicated

    Points: 37299

    Great article! Had the same problem some month ago. Wish I would have had this article at this time.

    Greets

    Flo

  • Varun-Sharma

    SSC Rookie

    Points: 46

    new ACE Driver for 64 Bit can be used directly for handling the execl files in SSIS

    Download this driver and install it (available in both 64 Bit and 32 Bit)

    http://blogs.msdn.com/b/sqlblog/archive/2009/12/29/how-to-connect-to-file-based-data-sources-microsoft-access-microsoft-excel-and-text-files-from-a-64-bit-application.aspx

    Only change that will be required in the SSIS is to change the connection string.

  • blessonblessons

    SSC Eights!

    Points: 929

    Thank you all for reading the article.

    Thanks Varun for the information but isnt it a beta version of the the driver?

    That should help resolve the first two problems.Does anyone know whether the Desktop folder is being created as part of the install?

  • Tom Garth

    SSCertifiable

    Points: 6173

    Nice work!

    Thanks for taking the time to share.

    Tom Garth
    Vertical Solutions[/url]

    "There are three kinds of men. The one that learns by reading. The few who learn by observation. The rest of them have to pee on the electric fence for themselves." -- Will Rogers
  • ryan.davidson

    SSC Veteran

    Points: 288

    Thanks for this. Was having issues with running x64 SQL Server and getting the data from the x86 Office apss into it. So, this would solve the issue I'm having with Excel, but any idea what to do with MS Access? Getting this error:

    [font="Courier New"]

    OLE DB provider 'Microsoft.Jet.OLEDB.4.0' cannot be used for distributed queries because the provider is configured to run in single-threaded apartment mode.[/font]

    May not be the right thread for this, but if someone could point me in the right direction that would be great.

    Thanks,

    Ryan

  • Elliott Whitlow

    SSC Guru

    Points: 102296

    Here is the MS download link for the ACE 14 files:

    http://www.microsoft.com/downloads/details.aspx?familyid=C06B8369-60DD-4B64-A44B-84B371EDE16D&displaylang=en

    I don't believe it is beta, I believe this is the release redist version.

    And I would start a new thread for the access discussion.

    CEWII

  • ryan.davidson

    SSC Veteran

    Points: 288

    Do you know if that distributable works with Access DBs that are 2002 / 2003?

    Thanks,

    Ryan

  • Varun-Sharma

    SSC Rookie

    Points: 46

    hello

    Yes It is Beta for now , but it works just fine ... We are using it since around last three months

    I have used it for reading data into Dot Net SQLDataReader as well as with SSIS.

  • Elliott Whitlow

    SSC Guru

    Points: 102296

    Please review the link I sent, I don't believe it is beta anymore, I could not find a single reference either on the download page or in the install that referenced Beta.

    The referenced blog post was from december, the redist files I pointed at are from May of this year..

    And coincidently, the blog was updated to point at the redist package..

    CEWII

  • blessonblessons

    SSC Eights!

    Points: 929

    Excellent news.I have a question,when I save the excel file using the saveas function,will it save the excel as a 2010 version rather than a 2003 version?If that is the case then many of our clients would require 2010 office installed on their PCs.It would be great to hear from someone who has implemented the 2010 redist on production server.By the way Varun are you covered by microsoft support on a Beta release?Nice one Elliott and Varun.

  • ryan.davidson

    SSC Veteran

    Points: 288

    I would guess that doing the "Save As" to 2010 would put the file somewhere the users can't see or touch. It would be a snapshot in time that you can load into SQL, and as a added benefit you won't have SQL locking the excel file on the users.

  • Todd McDermid

    Default port

    Points: 1416

    For those of you looking for more resources on this subject, I have two articles related that cover some of the same ground:

    SSIS in 32- and 64-bits

    Interacting with Office in SSIS

    My #1 caution for those using Excel or other Office documents is to use the providers, and not the COM API, due to the Considerations for server-side Automation of Office.

    For the ultimate discussion of problems, solutions, and workarounds for Excel issues in SSIS, you need to review Douglas Laudenschlager's series of posts.

    Todd McDermid - SQL Server MVP, MCTS (SQL 08 BI), MCSD.Net
    My Blog - Dimension Merge SCD Component for SSIS - SSIS Community Tasks and Components

  • Elliott Whitlow

    SSC Guru

    Points: 102296

    Keep in mind when these articles were written and whether they still apply in light of the ACE 14 components. But definitely read them.

    CEWII

  • SQLRNNR

    SSC Guru

    Points: 281210

    Thanks. I have some projects coming up that I may be able to use this.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

Viewing 15 posts - 1 through 15 (of 16 total)

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