Record Errors In Goal Entity In A SQL Replication Database

Record Errors In Goal Entity In A SQL Replication Database

book

Article ID: KB0079024

calendar_today

Updated On:

Products Versions
TIBCO Cloud Integration - Connect ( Scribe ) -

Description

You are using the Microsoft SQL Server Connector to execute a Replication Solution where Microsoft SQL Server is the target datastore and you receive a record error on the Goal entity that states "Failed to insert record on first attempt."

    Issue/Introduction

    This article contains a script to correct metadata errors in the goal entity along with instructions on running the script.

    Resolution

    Execute the included database script on your SQL Replication database. Prior to running the script make sure to use the SQL Take Offline feature and verify that you are not in the middle of a Replication session. After you have updated your SQL Replication database you can use the SQL Bring Online feature and restart your Replication.

    To access the Take Offline and Bring Online features, right-click the database in SQL and select Tasks.

    To execute the database script:
    1. Download the attached TXT file.
    2. In Microsoft SQL select the database with the error.
    3. Copy everything in the attached TXT file into into a Microsoft SQL Server Management Studio - Query Window.
    4. Click Execute.

    Attachments

    Record Errors In Goal Entity In A SQL Replication Database get_app