我有一个 SSIS 包,它是 3 年前由其他人构建的,但早已不复存在。在过去的一年中,我多次运行它,现在我遇到了这些错误,我不知道为什么会出现这些错误。这个 ssis 包从一个 excel 文档导入到一个临时表。一旦信息在第二次运行时出现在临时表上,它就会从临时表中获取并将其与其他列一起插入到生产表中。这些是我得到的错误:
[OLE DB Destination [162]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has
occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult:
0x80004005 Description: "Unspecified error".
[OLE DB Destination [162]] Error: There was an error with input column "UserProfileID" (299) on
input "OLE DB Destination Input" (175). The column status returned was: "The value violated the
integrity constraints for the column.".
[OLE DB Destination [162]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The
"input "OLE DB Destination Input" (175)" failed because error code 0xC020907D occurred, and
the error row disposition on "input "OLE DB Destination Input" (175)" specifies failure on
error. An error occurred on the specified object of the specified component. There may be
error messages posted before this with more information about the failure.
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on
component "OLE DB Destination" (162) failed with error code 0xC0209029 while processing input
"OLE DB Destination Input" (175). The identified component returned an error from the
ProcessInput method. The error is specific to the component, but the error is fatal and will
cause the Data Flow task to stop running. There may be error messages posted before this with
more information about the failure.
当我看到“输入列'UserProfileID'出错”时,我在临时表中查看了它,它为空。这是包在运行时应该找到的列之一。但我不知道第二次运行时是否找到了该信息,或者它是否应该在第一次填充。所以我不确定这是否是我遇到的问题。
我很感激我能得到的任何帮助。如果需要任何其他信息,我可以尝试提供。感谢任何可以提供帮助的人。