SAP Knowledge Base Article - Preview

2077399 - Error 5046 "'Transaction count after EXECUTE ..." and message 266 in DSI thread - SRS


The SAP Replication Server errorlog shows:

Message from server: Message: 266, State 1, Severity 10 -- 'Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRAN is missing. Previous count = 1, Current count = 2.  '.
ERROR #5046 DSI(nnn DSNAME.dbname) - /dsioqid.c(2050) When executing the rs_get_lastcommit function in database 'DSNAME.dbname', received data server errors. See logged data server errors for more information.
The DSI thread for database 'DSNAME.dbname' is shutdown.



  • SAP Replication Server (SRS)
  • SAP Adaptive Server Enterprise (ASE)


SAP Adaptive Server Enterprise all versions ; SAP Replication Server all versions


repserver, rs_update_lastcommit, CR771881, 771881 , KBA , BC-SYB-REP , Sybase Replication Server (standalone) , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.