(0x80040e21, DB_E_ERRORSOCCURRED) Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
- There is a connection to SQL Server through the OLE DB Provider for ODBC drivers (MSDASQL).
- The recordset is created by selecting from a SQL Server database table.
- The recordset uses server-side cursors.
- One of the columns in the recordset is the primary key for the table.
- There is an insert trigger on the table which inserts rows into some database object.
- The AddNew and Update methods are used to add a new row to the table.
- Update is called again to update a row before the recordset has been scrolled using FetchNext, FetchFirst, and so on.