FIX: You may receive an assertion or database corruption may occur when you use the bcp utility or the "Bulk Insert" Transact-SQL command to import data in SQL Server 2000

This article has been archived. It is offered "as is" and will no longer be updated.
Bug #: 50000914 (SQL Hotfix)
Microsoft distributes Microsoft SQL Server 2000 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2000 fix release.
This article describes the following about this hotfix release:
  • The issues that are fixed by this hotfix package
  • The prerequisites for applying the hotfix package
  • Whether you must restart the computer after you apply the hotfix package
  • Whether the hotfix package is replaced by any other hotfix package
  • Whether you must make any registry changes after you apply the hotfix package
  • The files that are contained in the hotfix package
When you use the bcp utility or the Bulk Insert Transact-SQL command to import data in Microsoft SQL Server 2000, you may receive an assertion. Or, database corruption may occur. Additionally, you may receive the following error message:
Server: Msg 823, Level 24, State 2, Procedure gfspTMAppendText, Line 20I/O error (bad page ID) detected during read at offset 0x0000000024e000 in file 'C:\Program Files (x86)\Microsoft SQL Server\MSSQL\data\REPRO.mdf'.
You receive the following error messages in the SQL Server error log:
Error message 1
DateTime spid53 SQL Server Assertion: File: <SpcAlloc.cpp>, line=466 Failed Assertion = '0'.
Error message 2
DateTime spid53 Error: 3624, Severity: 20, State: 1.
When you run the DBCC Checkdb command, you receive messages that resemble the following:
Error message 1
Server: Msg 8909, Level 16, State 1, Line 1 Table error: Object ID 0, index ID 0, page ID (1:105). The PageId in the page header = (0:0).
Error message 2
Server: Msg 8928, Level 16, State 1, Line 1 Object ID 2009058193, index ID 255: Page (1:105) could not be processed. See other errors for details.
This problem occurs if the following conditions are true:
  • You use the bcp utility or the Bulk Insert command together with the FIRE_TRIGGERS option.
  • You import a table that has an after trigger, and the trigger updates a text column of another table.
For a list of all publicly released SQL Server 2000 post-Service Pack hotfixes, see the following article in the Microsoft Knowledge Base:
894905 Cumulative list of the hotfixes that are available for SQL Server 2000 SP4

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.


To apply this hotfix, you must have SQL Server 2000 Service Pack 4 (SP4) installed on the computer.For more information about how to obtain SQL Server 2000 Service Pack 4, click the following article numberHow to obtain the latest SQL Server 2000 service pack to view the articleHow to obtain the latest SQL Server 2000 service pack in the Microsoft Knowledge Base:

Restart information

You do not have to restart the computer after you apply this hotfix.

Registry information

You do not have change the registry.

Hotfix file information

This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain of all the files that you must have to fully update a product to the latest build.
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
File nameFile versionFile sizeDateTimePlatform
80sp4-tools.sqlNot applicable134,62819-Feb-200600:40Not applicable
Distmdl.ldfNot applicable786,43216-Mar-200717:18Not applicable
Distmdl.mdfNot applicable2,359,29616-Mar-200717:18Not applicable
Instdist.sqlNot applicable751,63329-Nov-200614:42Not applicable
Inst_repl_hotfix.sqlNot applicable3628-Feb-200717:03Not applicable
Procsyst.sqlNot applicable552,06816-Jun-200523:15Not applicable
Replcom.sqlNot applicable1,216,65916-Mar-200716:13Not applicable
Replcom_baseline.sqlNot applicable1,214,94209-Dec-200601:08Not applicable
Replmerg.sqlNot applicable1,151,52116-Mar-200716:13Not applicable
Replmerg_baseline.sqlNot applicable1,151,75828-Feb-200717:03Not applicable
Replsys.sqlNot applicable1,096,99009-Dec-200601:03Not applicable
Replsys_baseline.sqlNot applicable1,096,45709-Dec-200601:08Not applicable
Repltran.sqlNot applicable1,000,69129-Nov-200614:42Not applicable
Repltran_baseline.sqlNot applicable999,41309-Dec-200601:08Not applicable
Sp4_serv_qfe.sqlNot applicable18,81016-Jun-200523:15Not applicable
Sqldumper.exeNot applicable22,52816-Mar-200721:38x86
Sqlevn70.rll2000.80.2245.045,05616-Mar-200720:19Not applicable
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Article ID: 933573 - Last Review: 12/10/2015 05:35:53 - Revision: 2.0

  • Microsoft SQL Server 2000 Developer Edition
  • Microsoft SQL Server 2000 Enterprise Edition
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 2000 Personal Edition
  • kbnosurvey kbarchive kbautohotfix kbHotfixServer kbqfe KB933573