在从SSIS导出数据到excel时,是否需要在目标机器上安装MS Excel软件?

在我的开发机器上我安装了MS excel。 我能够通过SSIS(visual studio)从数据库导出数据到excel。 但是当我将其部署到没有安装MS excel的QA环境时,程序包失败,出现以下错误。 请帮助我,如果真的需要在目标机器上安装MS excel软件,同时通过SSIS将数据从数据库导出到excel。

这是我使用的查询在excel工作表中创buildExcel和标签。 创buildexcel文件并在其中插入“新build”选项卡。

CREATE TABLE Inserted( [fileid] integer ,[filename] string ,[rxcui] string ,[tty] string ,[rxnorm_description] string ,[related_brand_name] string ,[related_scdc] string ,[related_df] string ,[related_ndc] string ,[create_date] date ,[create_user] string ,[status] string ,[plan_year] string ,[update_date] date ,[update_user]string ) 

用于上述脚本的连接pipe理器:

 @[User::var_excel_destination] +"\\"+"FRF_File_Import_Detail_"+ Right("0" +(DT_STR,4,1252) datepart("yyyy", getdate()),4) + Right("0" +(DT_STR,2,1252) datepart("mm", getdate()) ,2) + Right("0" +(DT_STR,2,1252) datepart("dd", getdate()),2)+Right("0" + (DT_STR,2,1252) DatePart("hh",getdate()),2) + Right("0" + (DT_STR,2,1252) DatePart("mi",getdate()),2) + Right("0" + (DT_STR,4,1252) DatePart("ss",getdate()),2) +".xls" 

在这一步失败,出现下面的错误:

错误描述:无法获取连接“ECM FRF文件导入处理器”。 连接可能configuration不正确,或者对此连接可能没有正确的权限。

请帮忙。

不,唯一需要的是喷气发动机。 https://www.microsoft.com/en-us/download/details.aspx?id=13255

是的,它要求在系统中安装MSexcel。没有它,我们没有内部定义来使系统完全理解文件格式。

我只是设置在SQL Server作业上以32位模式运行。 它像一个魅力工作。