Excel ODBC and 64 bit server

后端 未结 5 1232
别跟我提以往
别跟我提以往 2021-01-11 14:52

using ASP.NET I need to update an excel template.

Our server is running Windows 2008 in 64 bit mode.

I am using the following code to access the excel file:<

相关标签:
5条回答
  • 2021-01-11 15:24

    Microsoft release a 64bit OLEDB FOR ODBC in 2008/04/04 http://www.microsoft.com/downloads/details.aspx?FamilyID=000364db-5e8b-44a8-b9be-ca44d18b059b&DisplayLang=en

    Now you should able to run everything 64bit, can u try it and let us know the result and personally I think Microsoft should release a 64bit Jet Oledb 4.0, if the development team has no time to do it then just put it in codeplex.com and let other programmers do it.

    0 讨论(0)
  • 2021-01-11 15:33

    There is also 2010 Office System Driver Beta: Data Connectivity Components Link which has allowed us to open Excel 2007 (XLS) from a 64bit environment.

    This download will install a set of components that can be used by non-Microsoft Office applications to read data from Microsoft Office 2010 Beta files

    Our connection string

    @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source= " + filePath + ";Extended Properties=\"Excel 12.0;HDR=YES;\""
    
    0 讨论(0)
  • 2021-01-11 15:43

    The Microsoft Office team has just released a 64-bit driver

    0 讨论(0)
  • 2021-01-11 15:43

    Install the 32-bit Oracle driver and enable 32 bit applications?

    0 讨论(0)
  • 2021-01-11 15:48

    There are no office drivers for 64bit released.

    The (currently) last post at this link: MSDN Forum details a cumbersome and ugly workaround. You could also replace the Windows Service with a COM exposed assembly, if you wish. Still ugly though. :)

    0 讨论(0)
提交回复
热议问题