Results 1 to 4 of 4

Thread: Parse Excel 2007 using Data Access Engine

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2007
    Posts
    240

    Parse Excel 2007 using Data Access Engine

    Hi Guys,

    I have an application that can parse the data in Excel 2007.
    I have installed this driver in my development pc:
    2007 Office System Driver: Data Connectivity Components
    http://www.microsoft.com/downloads/e...displaylang=en

    And use this connection strings:

    Code:
    string connStr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + path + ";Extended Properties=Excel 12.0;";
    It is just working fine in my development pc. But after I have deployed the application to my clients pc, it no longer works. The error message is:

    Code:
    External table is not in the expected format.
    What components do i need to include in my deployment setup? Or is there a software I need to install in my clients pc?

  2. #2
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,611

    Re: Parse Excel 2007 using Data Access Engine

    Do the clients have the same version of Excell?
    VB6 & C# (WCF LINQ) mostly


    If you need help with a WPF/WCF question post in the NEW WPF & WCF forum and we will try help the best we can

    My site

    My blog, couding troubles and solutions

    Free online tools

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2007
    Posts
    240

    Re: Parse Excel 2007 using Data Access Engine

    I tried to install the same version of excel but still that's the message I received:

    Code:
    External table is not in the expected format.

  4. #4
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497

    Re: Parse Excel 2007 using Data Access Engine

    Back up his spreadsheet, copy yours to his computer. Does it work?
    Need to re-register ASP.NET?
    C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i

    (Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width