ACC2: Errors Exporting or Appending Many Records to SQL Server

ID: Q137115


The information in this article applies to:


SYMPTOMS

When you export or append a large amount of data to Microsoft SQL Server (using the Export command, an action query, or the Upsizing Tools), you may receive an error message such as

ODBC Call Failed. [Microsoft][ODBC.DLL] ODBC Function Sequence Error [#0]

   -or- 
Microsoft [ODBC SQL Server Driver] rollback transaction request has no corresponding BEGIN TRANSACTION [#3093]


CAUSE

There are several possible causes for the error message:


RESOLUTION

To resolve the error message, try the following:


MORE INFORMATION

To determine whether the error message is caused by running out of locks on Microsoft SQL server, follow these steps:

  1. While transferring data to Microsoft SQL Server (using the Export command, an action query, or the Upsizing Tools), run a query against the SQL Server's master database to determine the number of locks in use:
    
          Select count(*) from master..syslocks 


  2. Run this query a few times. Notice that the number of locks increases as long as Microsoft Access continues to transfer data to Microsoft SQL Server. If you receive an error message such as the ones listed in the "SYMPTOMS" section, then you have exceeded the number of locks available for your Microsoft SQL Server.



REFERENCES

Microsoft SQL Server "Language Reference," version 4.2, pages 471-472

Additional query words: Upsizing Wizard


Keywords          : kberrmsg kbusage OdbcSqlms 
Version           : 2.0
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: April 17, 1999