DTS_E_OLEDBERROR. Error code: 0x80004005.Difference between SQl Native client and oledb provider for sql server

后端 未结 2 419
逝去的感伤
逝去的感伤 2021-01-02 07:05

There was a communication link error while I was using SQL Server Native Client 10 in an SSIS Data Flow component.

Error: SSIS Error Code DTS_E_OLEDBE

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-02 07:08

    I ran into this issue after releasing a new SSIS project to the production environment.

    At first, I was able to validate the package with success, but when I tried to execute the package, I got the DTS_E_OLEDBERROR. Error code: 0x80004005. message.

    I tried to validate the package with the servername and password variables set to sensitive, but in this case the validation failed as well.

    After setting the environment variables back to non-sensitive again and inserting the environment variable values, I was able to validate and execute the package.

    To me it seems like in some cases the metadata in the SSISDB gets corrupted, but unfortunately I've not been able to point down the source of this issue.

    I hope this will help someone. I've went through a lot of debug scenarios before I ended up with this (rather unsatisfying) solution.

提交回复
热议问题