SSIS部署问题

时间:2012-10-29 09:57:05

标签: excel ssis

  

可能重复:
  Running an SSIS Package using dtexec

当我在本地系统上运行时,我的SSIS包工作正常。我的包将空白模板excel文件(仅包含标题)复制到另一个位置,然后使用数据库中的数据填充此副本。但是,当我将软件包和配置放在服务器上,并在其上安排SQL服务器作业时,它会抛出错误,如下所示:

Executed as user: CIQHYD\sqladmindev. 
Microsoft (R) SQL Server Execute Package UtilityVersion 10.0.4000.0 for 64-bitCopyright (C) Microsoft Corp 1984-2005. All rights reserved.
Started: 3:24:28 PM
Error: 2012-10-29 15:24:28.34 
  Code: 0xC001401E 
  Source: GICSReport Connection manager "GICSReport.xls" 
  Description: The file name "\\HYD-FILESVR\Departments\Technology\GICSReports\Dev\GICSReport.xls" specified in the connection was not valid.
End Error
Error: 2012-10-29 15:24:28.34 
  Code: 0xC001401D 
  Source: GICSReport 
  Description: Connection "GICSReport.xls" failed validation.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Started: 3:24:28 PM
Finished: 3:24:28 PM
lapsed: 0.234 seconds 
[SQLSTATE 42000] (Error 50000). The step failed.

当我删除目标文件夹中的文件时,出现此错误:

Executed as user: CIQHYD\sqladmindev. 
Microsoft (R) SQL Server Execute Package Utility
Version 10.0.4000.0 for 64-bitCopyright (C) Microsoft Corp 1984-2005. All rights reserved.
Started: 3:15:38 PM
Error: 2012-10-29 15:15:38.57 
  Code: 0xC001401E 
  Source: GICSReport Connection manager "GICStemplate.xls" 
  Description: The file name "\\HYD-FILESVR\Departments\Technology\GICSAutomationTemplate\GICStemplate.xls" specified in the connection was not valid.
End Error
Error: 2012-10-29 15:15:38.57 
  Code: 0xC0202070 
  Source: GICSReport Connection manager "GICStemplate.xls" Description: The file name property is not valid. The file name is a device or contains invalid characters.
End Error
Error: 2012-10-29 15:15:38.57 
  Code: 0xC0029163 
  Source: Copy Template To Destination File System Task 
  Description: File or directory "\\HYD-FILESVR\Departments\Technology\GICSAutomationTemplate\GICStemplate.xls" represented by connection "GICStemplate.xls" does not exist.
End Error
Error: 2012-10-29 15:15:38.57 
  Code: 0xC002F30A 
  Source: Copy Template To Destination File System Task 
  Description: The source is empty.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Started: 3:15:38 PM
Finished: 3:15:38 PM
Elapsed: 0.344 seconds [SQLSTATE 42000] (Error 50000). The step failed.

1 个答案:

答案 0 :(得分:1)

Version 10.0.4000.0 for 64-bitCopyright (C) Microsoft Corp 1984-2005.

您是否尝试以32位模式运行它?

http://microsoft-ssis.blogspot.nl/2012/09/swtich-package-from-64bit-to-32bit.html