Occurs when an SAP Replication Server transaction that is sent to the replicate SAP Adaptive Server Enterprise (SAP ASE) has a SQL error. An SAP ASE error is included in the text of the SAP Replication Server error.
E. 2006/06/13 12:31:29. ERROR #1028 DSI(western.west1)- dsiqmint.c(3645) Message from server: Message: 229, State: 1, Severity: 14-- ‘DELETE permission denied on object real_run, database west1, owner dbo’. H. 2006/06/13 12:31:29. THREAD FATAL ERROR #5049 DSI(western.west1) - dsiqmint.c(3652) The DSI thread for database ‘western.west1’ is being shutdown. DSI received data server error #229 which is mapped to STOP_REPLICATION. See logged data server errors for more information. The data server error was caused by RS output command #1 mapped from input command #2 of the failed transaction. I. 2006/06/13 12:31:29. The DSI thread for database ‘western.west1’ is shutdown. The Message from server: text is the message you would get from the Adaptive Server had you sent the command batch to the server with isql. The text is taken from the table sysmessages. In isql you would get: Msg 229, Level 14, State 1: DELETE permission denied on object real_run, database west1, owner dbo
These errors occur when an SAP Replication Server transaction that is sent to the replicate SAP ASE includes a SQL error. The replicate SAP ASE detects the SQL error in the transaction and returns a message to the SAP Replication Server.
The SAP Replication Server responds by shutting down the connection and suspending replication; this prevents data inconsistencies between the primary and replicate sites. It allows the user to correct the problem at the replicate SAP ASE and to maintain data consistency.
For example, when a SQL semantic error occurs in a referential integrity or duplicate keys situation, SAP ASE sends its message back to SAP Replication Server. In response, SAP Replication Server shuts down the connection and records the SAP Replication Server error in the SAP Replication Server error log. The SAP ASE error is referenced in the body of the SAP Replication Server error.
Fix the problem in SAP ASE and resume the connection as described in Troubleshooting Guide > Common Errors > 1028 > General Data Server Error. If the problem persists, verify that autocorrection for the subscription has been turned on in the rs_repobjs.attributes table of the Replication Server System Database (RSSD). Also, check for triggers that enforce referential integrity rules.