change data capture issue

  • Facing below errors while performing CDC initial loads and incremental loads.

    any suggestions pls.

    There were errors during task validation.

    There were errors during task validation.

    One or more component failed validation.

    One or more component failed validation.

    "OLE DB Destination" failed validation and returned validation status "VS_ISBROKEN".

    "OLE DB Destination" failed validation and returned validation status "VS_ISBROKEN".

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : ReleaseConnections : 130550913164081353 : 130550913164081353

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : ReleaseConnections : 130550913164081353 : 130550913164081353

    Data flow engine will call a component method. : 2 : OLE DB Destination : ReleaseConnections

    Data flow engine will call a component method. : 2 : OLE DB Destination : ReleaseConnections

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : Validate : 130550913163921887 : 130550913164011123

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : Validate : 130550913163921887 : 130550913164011123

    Failed to open a fastload rowset for "[cdc].[DestinationRowCounts]". Check that the object exists in the database.

    Failed to open a fastload rowset for "[cdc].[DestinationRowCounts]". Check that the object exists in the database.

    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 11.0" Hresult: 0x80004005 Description: "Unspecified error".

    An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "The metadata could not be determined because every code path results in an error; see previous errors for some of these.".

    An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Invalid object name 'cdc.DestinationRowCounts'.".

    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 11.0" Hresult: 0x80004005 Description: "Unspecified error".

    An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "The metadata could not be determined because every code path results in an error; see previous errors for some of these.".

    An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Invalid object name 'cdc.DestinationRowCounts'.".

    Data flow engine will call a component method. : 2 : OLE DB Destination : Validate

    Data flow engine will call a component method. : 2 : OLE DB Destination : Validate

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : AcquireConnections : 130550913163831682 : 130550913163861211

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : AcquireConnections : 130550913163831682 : 130550913163861211

    Data flow engine will call a component method. : 2 : OLE DB Destination : AcquireConnections

    Data flow engine will call a component method. : 2 : OLE DB Destination : AcquireConnections

    There were errors during task validation.

    There were errors during task validation.

    One or more component failed validation.

    One or more component failed validation.

    "OLE DB Destination" failed validation and returned validation status "VS_ISBROKEN".

    "OLE DB Destination" failed validation and returned validation status "VS_ISBROKEN".

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : ReleaseConnections : 130550740702854468 : 130550740702865107

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : ReleaseConnections : 130550740702854468 : 130550740702865107

    Data flow engine will call a component method. : 2 : OLE DB Destination : ReleaseConnections

    Data flow engine will call a component method. : 2 : OLE DB Destination : ReleaseConnections

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : Validate : 130550740702724331 : 130550740702804343

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : Validate : 130550740702724331 : 130550740702804343

    Failed to open a fastload rowset for "[cdc].[DestinationRowCounts]". Check that the object exists in the database.

    Failed to open a fastload rowset for "[cdc].[DestinationRowCounts]". Check that the object exists in the database.

    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 11.0" Hresult: 0x80004005 Description: "Unspecified error".

    An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "The metadata could not be determined because every code path results in an error; see previous errors for some of these.".

    An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Invalid object name 'cdc.DestinationRowCounts'.".

    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 11.0" Hresult: 0x80004005 Description: "Unspecified error".

    An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "The metadata could not be determined because every code path results in an error; see previous errors for some of these.".

    An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Invalid object name 'cdc.DestinationRowCounts'.".

    Data flow engine will call a component method. : 2 : OLE DB Destination : Validate

    Data flow engine will call a component method. : 2 : OLE DB Destination : Validate

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : AcquireConnections : 130550740702624299 : 130550740702664284

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : AcquireConnections : 130550740702624299 : 130550740702664284

    Data flow engine will call a component method. : 2 : OLE DB Destination : AcquireConnections

    Data flow engine will call a component method. : 2 : OLE DB Destination : AcquireConnections

    There were errors during task validation.

    There were errors during task validation.

    One or more component failed validation.

    One or more component failed validation.

    "OLE DB Destination" failed validation and returned validation status "VS_ISBROKEN".

    "OLE DB Destination" failed validation and returned validation status "VS_ISBROKEN".

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : ReleaseConnections : 130550734975716323 : 130550734975716323

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : ReleaseConnections : 130550734975716323 : 130550734975716323

    Data flow engine will call a component method. : 2 : OLE DB Destination : ReleaseConnections

    Data flow engine will call a component method. : 2 : OLE DB Destination : ReleaseConnections

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : Validate : 130550734974046175 : 130550734975646330

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : Validate : 130550734974046175 : 130550734975646330

    Failed to open a fastload rowset for "[cdc].[DestinationRowCounts]". Check that the object exists in the database.

    Failed to open a fastload rowset for "[cdc].[DestinationRowCounts]". Check that the object exists in the database.

    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 11.0" Hresult: 0x80004005 Description: "Unspecified error".

    An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "The metadata could not be determined because every code path results in an error; see previous errors for some of these.".

    An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Invalid object name 'cdc.DestinationRowCounts'.".

    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 11.0" Hresult: 0x80004005 Description: "Unspecified error".

    An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "The metadata could not be determined because every code path results in an error; see previous errors for some of these.".

    An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Invalid object name 'cdc.DestinationRowCounts'.".

    Data flow engine will call a component method. : 2 : OLE DB Destination : Validate

    Data flow engine will call a component method. : 2 : OLE DB Destination : Validate

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : AcquireConnections : 130550734973316136 : 130550734973796199

    Data flow engine has finished a call to a component method. : 2 : OLE DB Destination : AcquireConnections : 130550734973316136 : 130550734973796199

    Data flow engine will call a component method. : 2 : OLE DB Destination : AcquireConnections

    Data flow engine will call a component method. : 2 : OLE DB Destination : AcquireConnections

  • Quick questions, was this working before and you just br:w00t:ke it or is this the first implementation?

    😎

  • it was running fine in one server but its failing now , and implementing this first time in one more server.

    i am facing the same errors in both .

  • Any changes or updates?

    😎

  • No changes\updates .

  • Assume you are using SSIS and CDC components, have you checked the credentials, expired password?

    😎

  • yes i am using SSIS and CDC components, yes i checked the credentials and all are valid.

  • Are all servers 2012?

    😎

  • yes all servers are 2012.

  • First, apologies for the piecemeal like answers:-)

    From the top of my head, most likely causes:

    A. Insufficient permissions for the SSIS execution user account, the "user" doesn't have enough/right permissions.

    B. CDC has not been enabled or has been disabled on the database, run this code to list CDC enabled databases

    SELECT

    DB_NAME(database_id) AS DB_W_CDC

    FROM sys.change_tracking_databases;

    C. I have come across issues with CDC and Microsoft SQL Server Native Client 11.0, if I remember correctly, either installing SP1 and the latest Cumulative update package or changing to the OLE DB Provider for SQL Server fixed that.

    😎

  • A. the user have enough/right permissions for the SSIS execution

    B. No result , i mean no dbs showing as cdc enabled.

    actually i checked your query in the servers where the CDC is running fine , and there is no result in that server also .

    C. current sql version is Microsoft SQL Server 2012 (SP1) - 11.0.3412.0 (X64)

  • charipg (9/14/2014)


    A. the user have enough/right permissions for the SSIS execution

    B. No result , i mean no dbs showing as cdc enabled.

    actually i checked your query in the servers where the CDC is running fine , and there is no result in that server also .

    C. current sql version is Microsoft SQL Server 2012 (SP1) - 11.0.3412.0 (X64)

    Unless I've been doing this in a seriously wrong way:-) there should be one entry for each database in the sys.change_tracking_databases view and then for each table in the sys.change_tracking_tables view.

    The sys.databases also has a column, is_cdc_enabled:

    SELECT d.is_cdc_enabled

    ,* FROM sys.databases d

    Ro enable cdc on a databese use sys.sp_cdc_enable_db

    To enable cdc for a table use sys.sp_cdc_enable_table

    Could this have changed by any chance?

    😎

  • cdc is enabled for the database.

    yes , sys.databases has is_cdc_enabled =1 for that database.

  • any more suggestions to resolve this ?

Viewing 14 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic. Login to reply