FIX: A database is marked suspect when you open the database in SQL Server 2000

Article translations Article translations
Article ID: 889266 - View products that this article applies to.
BUG #: 470755 (SQL Server 8.0)
Expand all | Collapse all

On This Page

SUMMARY

This article describes the following about this hotfix release:
  • The issues that are fixed by this hotfix package.
  • The prerequisites for installing the hotfix package.
  • Whether you must restart your computer after you install the hotfix package.
  • The files that are contained in the hotfix package.

SYMPTOMS

When you open a database in Microsoft SQL Server 2000, you notice that a user database is marked as suspect. Also, an error message that is similar to the following is logged in the SQL Server 2000 error log:
<Date> <Time> spid9 Recovery of database 'UserDatabaseName' (5) is 2% complete (approximately 185 more seconds) (Phase 3 of 3).
<Date> <Time> spid9 Using 'dbghelp.dll' version '4.0.5' *Dump thread - spid = 9, PSS = 0x80178098, EC = 0x801783c0
<Date> <Time> spid9 The exception information has been submitted to Watson error reporting.
<Date> <Time> spid9 Stack Signature for the dump is 0x986D5509
<Date> <Time> spid9 SQL Server Assertion: File: <page.cpp>, line=3430 Failed Assertion = 'm_freeCnt + emptySlots * sizeof (Slot) >= spaceNeed'.
<Date> <Time> spid9 Location: page.cpp:3430 Expression: m_freeCnt + emptySlots * sizeof (Slot) >= spaceNeed

CAUSE

This problem occurs because SQL Server incorrectly asserts free data page space when a row is inserted. The estimate accounts for the free space that has not yet been reclaimed. The row that is being inserted must have more space than is actually available.

Note If you apply the hotfix in this article, and then you run the recovery process again, you will experience the same assert. This hotfix will only prevent later occurrences.

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
290211 How to obtain the latest SQL Server 2000 service pack

Hotfix information

Note If you have a database in a condition that experiences this assert, you cannot resolve the problem by applying this hotfix in this condition and then trying to run the recovery process again. The original transaction log records that caused the problem have already persisted their changes on the affected page. This hotfix will only prevent later occurrences of this problem when the transactions experience a similar situation during runtime. To recover a database that is experiencing this specific problem, you must perform a restore of the database from a backup.

Prerequisites

You must install SQL Server 2000 Service Pack 3 (SP3). For information about how to obtain SQL Server 2000 SP3, click the following article number to view the article in the Microsoft Knowledge Base:
290211 How to obtain the latest SQL Server 2000 service pack
For more information about SQL Server 2000 Post SP3a hotfix build 2000.80.977, click the following article number to view the article in the Microsoft Knowledge Base:
842960 Description of the 32-bit SQL Server 7.0 and SQL Server 2000 hotfix installer

Restart information

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

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 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 tool in Control Panel.
   Date         Time   Version            Size    File name
   -------------------------------------------------------------------------
   04-Aug-2004  03:33  6.1.9.0            15,872  Spupdsvc.exe     
   04-Nov-2004  22:25                      3,696  Tempcatsign.cdf
   15-Sep-2004  00:40  2000.80.977.0     664,128  Autoplt.dll      
   15-Sep-2004  00:40  2000.80.977.0      78,400  Console.exe      
   15-Sep-2004  00:40  2000.80.977.0     332,352  Ctasksui.dll     
   15-Sep-2004  00:40  2000.80.977.0     315,968  Custtask.dll     
   15-Sep-2004  00:40  2000.80.977.0      33,340  Dbmslpcn.dll     
   08-Apr-2004  19:42                    786,432  Distmdl.ldf
   08-Apr-2004  19:42                  2,359,296  Distmdl.mdf
   30-Sep-2003  20:55                        180  Drop_repl_hotfix.sql
   15-Sep-2004  00:40  2000.80.977.0   1,905,216  Dtspkg.dll       
   15-Sep-2004  00:40  2000.80.977.0     528,960  Dtspump.dll      
   15-Sep-2004  00:40  2000.80.977.0   1,557,052  Dtsui.dll        
   15-Sep-2004  00:40  2000.80.977.0     639,552  Dtswiz.dll       
   30-Sep-2003  20:55                    747,927  Instdist.sql
   30-Sep-2003  20:55                      1,581  Inst_repl_hotfix.sql
   15-Sep-2004  00:40  2000.80.977.0     352,828  Isqlw.exe        
   15-Sep-2004  00:40  2000.80.977.0      82,492  Itwiz.exe        
   15-Sep-2004  00:40  2000.80.977.0      90,692  Msgprox.dll      
   19-May-2004  21:43  8.11.40209.0      209,408  Mssdi98.dll      
   15-Sep-2004  00:40  2000.80.977.0      62,024  Odsole70.dll     
   15-Sep-2004  00:41  2000.80.977.0      25,144  Opends60.dll     
   15-Sep-2004  00:40  2000.80.977.0      57,904  Osql.exe         
   15-Sep-2004  00:40  2000.80.977.0     279,104  Pfutil80.dll     
   30-Sep-2003  20:48                    550,780  Procsyst.sql
   08-Apr-2004  19:42                     12,305  Qfe469315.sql
   08-Apr-2004  19:42                     19,195  Qfe469571.sql
   26-Aug-2004  22:14                      5,157  Qfe472197.sql
   15-Sep-2004  00:40  2000.80.977.0     143,940  Qrdrsvc.exe      
   13-Sep-2004  20:09                  1,105,167  Replmerg.sql
   15-Sep-2004  00:41  2000.80.977.0     221,768  Replprov.dll     
   15-Sep-2004  00:41  2000.80.977.0     307,784  Replrec.dll      
   13-Sep-2004  16:16  2000.80.977.0     159,813  Replres.rll
   26-Aug-2004  22:14                  1,086,925  Replsys.sql
   30-Sep-2003  20:55                    986,603  Repltran.sql
   15-Sep-2004  00:41  2000.80.977.0     287,304  Rinitcom.dll     
   15-Sep-2004  00:41  2000.80.977.0      78,416  Sdiclnt.dll      
   15-Sep-2004  00:41  2000.80.977.0      66,112  Semmap.dll       
   15-Sep-2004  00:41  2000.80.977.0      57,916  Semnt.dll        
   15-Sep-2004  00:41  2000.80.977.0     492,096  Semobj.dll       
   13-Sep-2004  16:47  2000.80.977.0     172,032  Semobj.rll
   15-Sep-2004  00:40  2000.80.977.0      53,832  Snapshot.exe     
   30-Sep-2003  20:48                    117,834  Sp3_serv_uni.sql
   15-Sep-2004  00:40  2000.80.977.0      28,672  Sqlagent.dll     
   15-Sep-2004  00:40  2000.80.977.0     311,872  Sqlagent.exe     
   15-Sep-2004  00:40  2000.80.977.0     168,001  Sqlakw32.dll     
   15-Sep-2004  00:41  2000.80.977.0      33,344  Sqlctr80.dll     
   15-Sep-2004  00:41  2000.80.977.0   4,215,360  Sqldmo.dll       
   15-Sep-2004  00:40                     25,172  Sqldumper.exe    
   13-Sep-2004  16:09  2000.80.977.0      28,672  Sqlevn70.rll
   15-Sep-2004  00:40  2000.80.977.0     156,224  Sqlmaint.exe     
   15-Sep-2004  00:41  2000.80.977.0     180,792  Sqlmap70.dll     
   15-Sep-2004  00:41  2000.80.977.0     188,992  Sqlmmc.dll       
   13-Sep-2004  16:51  2000.80.977.0     479,232  Sqlmmc.rll
   15-Sep-2004  00:41  2000.80.977.0     401,984  Sqlqry.dll       
   15-Sep-2004  00:41  2000.80.977.0      57,920  Sqlrepss.dll     
   15-Sep-2004  00:41  2000.80.977.0   7,708,753  Sqlservr.exe     
   15-Sep-2004  00:41  2000.80.977.0     590,396  Sqlsort.dll      
   15-Sep-2004  00:41  2000.80.977.0      45,644  Sqlvdi.dll       
   15-Sep-2004  00:41  2000.80.977.0     106,588  Sqsrvres.dll     
   15-Sep-2004  00:41  2000.80.977.0      33,340  Ssmsgnet.dll     
   15-Sep-2004  00:41  2000.80.977.0      33,340  Ssmslpcn.dll     
   15-Sep-2004  00:41  2000.80.977.0      33,340  Ssmsqlgc.dll     
   15-Sep-2004  00:41  2000.80.977.0      82,492  Ssnetlib.dll     
   15-Sep-2004  00:41  2000.80.977.0      25,148  Ssnmpn70.dll     
   15-Sep-2004  00:41  2000.80.977.0     123,456  Stardds.dll      
   15-Sep-2004  00:41  2000.80.977.0     158,240  Svrnetcn.dll     
   15-Sep-2004  00:40  2000.80.977.0      76,416  Svrnetcn.exe     
   15-Sep-2004  00:41  2000.80.977.0      49,228  Ums.dll          
   15-Sep-2004  00:41  2000.80.977.0      74,304  Xplog70.dll      
   15-Sep-2004  00:41  2000.80.977.0      98,872  Xpweb70.dll      
   15-Sep-2004  00:40  2000.80.977.0      57,904  Osql.exe         
   26-Oct-2004  16:03  1.0.83.0          816,640  Sqlstpcustomdll.dll  
   26-Oct-2004  16:03                     22,528  Sqlstpcustomdll.rll
   04-Aug-2004  03:35  6.1.9.0           344,576  Updspapi.dll 

Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Microsoft SQL Server 2000 Service Pack 4.

MORE INFORMATION

For more information about the naming schema for Microsoft SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:
822499 New naming schema for Microsoft SQL Server software update packages
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

Properties

Article ID: 889266 - Last Review: November 2, 2007 - Revision: 3.3
APPLIES TO
  • Microsoft SQL Server 2000 Developer Edition
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 2000 Enterprise Edition
  • Microsoft SQL Server 2000 Personal Edition
  • Microsoft SQL Server 2000, Workgroup Edition
  • Microsoft SQL Server 2000 Desktop Engine (Windows)
  • Microsoft SQL Server 2000 Enterprise Edition 64-bit
Keywords: 
kbsqlserv2000presp4fix kbbug kbfix kbhotfixserver kbqfe KB889266

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com