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

Is it necessary to have MS excel software installed on the target machine while exporting data from SSIS to excel

在我的开发机器上安装了 MS excel。我可以通过 SSIS (visual studio) 从 DB 将数据导出到 excel。但是当我将它部署到未安装 MS excel 的 QA 环境时,程序包失败并出现以下错误。如果在通过 SSIS 从数据库导出数据到 excel 时确实需要在目标计算机上安装 MS excel 软件,请帮助我。

这是我在 excel sheet 中使用创建 excel 和选项卡的查询。 创建 excel 文件并在其中创建新选项卡 "inserted"。

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 
)

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

@[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"

这一步失败并出现以下错误:

Error Description :Failed to acquire connection "ECM FRF File Import Processor". Connection may not be configured correctly or you may not have the right permissions on this connection.

请帮忙。

是的,它需要在 system.As 中安装 MSExcel 如果没有它,我们没有内部定义来让系统完全理解文件格式。

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

我刚刚在 SQL 服务器作业上将 运行 设置为 32 位模式。它就像一个魅力。