【问题标题】:SSIS Package connectivity issueSSIS 包连接问题
【发布时间】:2013-11-28 07:08:40
【问题描述】:

我遇到了有关 SSIS 包连接的问题。我创建了每晚导入和导出数据的 SSIS 包。它正在我们的服务器上运行,但我们的一位客户面临以下问题:

    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: "Login timeout expired".
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80004005  Description: "A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.".
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80004005  Description: "Named Pipes Provider: Could not open a connection to SQL Server [53]. ".

SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "XXXXXXX" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.

component "OLE DB Source" (1) failed validation and returned error code 0xC020801C.

One or more component failed validation.

There were errors during task validation.

我已经使用管理工具验证了该服务器与数据库的连接性,它运行良好。

如果有人遇到此类问题,请告诉我。

谢谢...

【问题讨论】:

  • 我在将连接作为命令行参数时看到了类似的问题。那么问题是验证使用了存储在 OLE DB 组件中的连接字符串,而不是参数中的连接字符串。
  • 您是否在遇到错误时验证了连接性?您是否在发生错误时检查了 SQL Server 日志?也许正在发生备份或其他事情。你需要看日志,日志,日志

标签: .net sql sql-server ssis


【解决方案1】:

我知道了,SQL 数据库的连接存在一些问题。感谢大家的帮助。

【讨论】:

    猜你喜欢
    • 2017-11-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-11-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多