OLEDB不支持在64位模式? [英] OleDB not supported in 64bit mode?

查看:1199
本文介绍了OLEDB不支持在64位模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用Microsoft.Jet.OLEDB.4.0和Microsoft.ACE.OLEDB.12.0阅读以.csv,.xls和的.xlsx文件。

I've been using Microsoft.Jet.OLEDB.4.0 and Microsoft.ACE.OLEDB.12.0 to read in .csv, .xls, and .xlsx files.

我刚刚发现,没有这些技术的原生64位模式的支持!

I just found out that neither of these technologies are supported in native 64bit mode!

我有2个问题:

  1. 什么是支持的方法 编程读的.csv,.xls和 在64位模式的.xlsx文件。我只是 不能找到答案,这在任何地方。

  1. What is the supported way to programatically read .csv, .xls, and .xlsx files in 64 bit mode. I just can't find answers to this anywhere.

如果我不能读取所有的三个文件 类型,什么是阅读的最佳途径 在一个64位的.csv文件 环境?

If I can't read in all three file types, what is the best way to read in .csv files in a 64 bit environment?

注:

  • 在我使用.NET(3.5p1)
  • 这是一个收缩包装的应用程序;再分配是 关键的因素。
  • I'm using .NET (3.5p1)
  • This is a shrink wrap app; redistribution is a key factor.

更新:

我可以使用CorFlags强制应用到在32位模式下,其工作方式运行,但是不希望的。

I can use CorFlags to force the application to run in 32bit mode, which works, but is not desirable.

推荐答案

下面是做什么的关于德precated MDAC 。恐怕答案不是很满意......

Here is a discussion of what to do about deprecated MDAC. I am afraid the answer is not very satisfying ...

这些新建或改建喷气机   应用程序可以继续使用Jet   使用微软的意图   Office 2003以及更早的文件(.MDB   和的.xls)用于非主数据   存储。但是,对于这些   应用程序,你应该计划   从喷气机迁移到2007 Office   系统驱动程序。您也可以下载   2007年Office系统驱动程序,   允许你从读取和写入   pre-存在任何Office文件   2003(.MDB和.xls的)或Office   2007年(* .ACCDB,* .xlsm,*的.xlsx和   * .xlsb)文件格式。重要提示请阅读2007 Office系统的最终用户   具体的使用许可协议   限制。

These new or converted Jet applications can continue to use Jet with the intention of using Microsoft Office 2003 and earlier files (.mdb and .xls) for non-primary data storage. However, for these applications, you should plan to migrate from Jet to the 2007 Office System Driver. You can download the 2007 Office System Driver, which allows you to read from and write to pre-existing files in either Office 2003 (.mdb and .xls) or the Office 2007 (*.accdb, *.xlsm, *.xlsx and *.xlsb) file formats. IMPORTANT Please read the 2007 Office System End User License Agreement for specific usage limitations.

注:SQL Server应用程序还可以   进入2007年Office System和   从SQL Server的早期,文件   异构数据连接和   集成服务能力,   同时,通过2007 Office系统   驱动程序。此外,64位SQL   服务器应用程序可以访问到   32位Jet和2007 Office系统   通过使用32位SQL Server文件   集成服务(SSIS)64位   Windows操作系统。

Note: SQL Server applications can also access the 2007 Office System, and earlier, files from SQL Server heterogeneous data connectivity and Integrations Services capabilities as well, via the 2007 Office System Driver. Additionally, 64-bit SQL Server applications can access to 32-bit Jet and 2007 Office System files by using 32-bit SQL Server Integration Services (SSIS) on 64-bit Windows.

这篇关于OLEDB不支持在64位模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆