Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/visual-studio-2010/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
SSIS和64位excel_Excel_Visual Studio 2010_Ssis - Fatal编程技术网

SSIS和64位excel

SSIS和64位excel,excel,visual-studio-2010,ssis,Excel,Visual Studio 2010,Ssis,我已经对此进行了彻底的研究,但还没有找到满意的答案 我正在使用SQL Server数据工具2010和Microsoft Office 2013 64位。我知道有一个兼容性问题,我正试图解决它,因为我知道一个事实,您可以使用.xlsx文件作为数据流中的数据源 首先,我尝试在项目->属性->配置属性->调试中将Run64BitRuntime设置为False,但没有成功 每当我尝试导入.xlsx文件时,都会出现相同的错误 Microsoft Visual Studio ---------------

我已经对此进行了彻底的研究,但还没有找到满意的答案

我正在使用SQL Server数据工具2010和Microsoft Office 2013 64位。我知道有一个兼容性问题,我正试图解决它,因为我知道一个事实,您可以使用.xlsx文件作为数据流中的数据源

首先,我尝试在项目->属性->配置属性->调试中将Run64BitRuntime设置为False,但没有成功

每当我尝试导入.xlsx文件时,都会出现相同的错误

 Microsoft Visual Studio
------------------------------

Could not retrieve the table information for the connection manager
'Source Path'. Failed to connect to the source using the connection
manager 'Source Path'

------------------------------ 
所以我试着按照很多人的建议下载“MicrosoftAccess数据库引擎2010”。64位已成功安装,但32位返回以下错误

You cannot install the 32-bit version of Microsoft Access database engine 2010
because you currently have 64-bit Office products installed.
现在我知道我在这里遗漏了一个步骤,因为虽然我可以在“控制面板”中的已安装程序列表中看到“Microsoft Access database engine 2010”,但在我尝试创建新的连接管理器时,它不会作为选项显示在提供程序列表中

因此,在我按照这方面的说明得出结果之前,我想确保没有更简单的方法来解决这个问题


提前感谢您抽出时间。

如果您的计算机是x64,请忘记Excel,因为没有可用的驱动程序。
只需将文件转换为CSV并使用平面文件连接器即可。

好的,答案非常简单,以至于我现在为这篇文章感到羞愧


如果您使用的是64位Microsoft Office 2013,并且希望使用SSIS,则必须下载并安装32位而不是64位,将Run64BitRuntime设置为False,所有操作都将正常工作。

因为Visual Studio是32位的,所以您需要32位Office/excel驱动程序。因为您不能同时安装32位和64位驱动程序,所以您遇到了问题。解决方案:-使用常规32位office(或者更好,不要在带有SQL Server的计算机上使用office)-不要将excel用作SSIS中的源。