【发布时间】:2008-12-23 17:27:05
【问题描述】:
我完美地发现了 Excel 2007 二进制格式(扩展名为 .xlsb) 适合我的需要,因为它加载速度快且非常紧凑。我提供一个 Excel 中包含大量数据的报告,这些报告是 实际上正在加载一个 IS 包。
所以我假设转换为这种格式,请阅读关于 访问 Ole DB Provider 12,其中写到 xlsb 受此支持 提供者。我在 Excel 中转换了文件,然后在尝试更改它们时 在包中(只需通过添加“b”来更改文件的路径 后缀),我收到以下错误消息:
"Test connection failed because of an error in initializing provider. This
file was created in a previous beta version of Excel 2007. Open the file
with Excel 2007 to save it to the most recent version of the Excel 2007 file
format before opening the file in Access 2007."
嗯,我认为这可能是转换的问题 文件,所以我拿起一个全新的文件,并在其中填写了一些信息。试过了 再次,同样的错误!
然后我尝试了使用“.udl”文件的方法,同样的错误! 然后我尝试在不同的机器上进行测试: - 我自己的(Windows Vista SP1) - 我的同事 (Windows XP SP2) - IS 服务器 (Windows Server 2003 x64 SP2)
并且错误仍然存在。我发现重现错误很容易,我是 有点惊讶,我通过谷歌搜索没有找到任何关于它的信息!
有人可以帮帮我吗?
提前致谢, 拉斐尔
【问题讨论】:
-
虽然同样的 64 位包在 64 位网络服务器上运行良好。
-
老实说,我无法确切地弄清楚您何时以及如何得到错误,但我可以使用 C# 使用
OleDbConnectionselect和update一个 .xlsb 文件。
标签: ssis oledb excel-2007