Microsoft KB Archive/819248

From BetaArchive Wiki

Article ID: 819248

Article Last Modified on 2/21/2007


  • Microsoft SQL Server 2000 Service Pack 3
  • Microsoft SQL Server 2000 Service Pack 2
  • Microsoft SQL Server 2000 Service Pack 1

Bug #: 469238 (SQL Server 8.0)


If you run a Transact-SQL INSERT statement that tries to insert a row in a table that is referenced in several indexed views, an access violation exception may occur. When the access violation exception occurs, SQL Server terminates the client connection that ran the INSERT statement.

After you run the Transact-SQL INSERT statement, you may see a short stack dump that is similar to the following.

* Short Stack Dump
* 00000000 Module(sqlservr+FFC00000)
* 00490A0C Module(sqlservr+00090A0C) (+00000136)
* 004908B6 Module(sqlservr+000908B6) (CXteFetch::QScanGet+000000AE)
* 00423E92 Module(sqlservr+00023E92) (CXteProject::QScanGet+00000092)
* 0047A078 Module(sqlservr+0007A078) (CQScanUpdate::CQScanUpdate+000000E6)
* 00479F74 Module(sqlservr+00079F74) (CXteUpdate::QScanGet+00000053)
* 006F73A3 Module(sqlservr+002F73A3) (CQScanSpool::CQScanSpool+00000167)
* 006F70DA Module(sqlservr+002F70DA) (CXteSpool::QScanGet+000000A5)
* 0047A078 Module(sqlservr+0007A078) (CQScanUpdate::CQScanUpdate+000000E6)
* 00479F74 Module(sqlservr+00079F74) (CXteUpdate::QScanGet+00000053)
* 006F9A10 Module(sqlservr+002F9A10) (CQScanSequence::CQScanSequence+0000007C)
* 006F9958 Module(sqlservr+002F9958) (CXteSequence::QScanGet+0000004F)
* 006F9A10 Module(sqlservr+002F9A10) (CQScanSequence::CQScanSequence+0000007C)
* 006F9958 Module(sqlservr+002F9958) (CXteSequence::QScanGet+0000004F)
* 004217F3 Module(sqlservr+000217F3) (CQueryScan::CQueryScan+0000028E)
* 004215DD Module(sqlservr+000215DD) (CQuery::Execute+0000006A)
* 0041D4D9 Module(sqlservr+0001D4D9) (CStmtQuery::ErsqExecuteQuery+0000022C)
* 0041E09C Module(sqlservr+0001E09C) (CStmtDML::XretExecuteNormal+000002AE)
* 0041DECA Module(sqlservr+0001DECA) (CStmtDML::XretExecute+0000001C)
* 0041B442 Module(sqlservr+0001B442) (CMsqlExecContext::ExecuteStmts+000003B9)
* 0041AA88 Module(sqlservr+0001AA88) (CMsqlExecContext::Execute+000001B6)
* 0041B9B6 Module(sqlservr+0001B9B6) (CSQLSource::Execute+00000357)
* 00498A8A Module(sqlservr+00098A8A) (CStmtExec::XretLocalExec+0000014D)
* 00498926 Module(sqlservr+00098926) (CStmtExec::XretExecute+0000031A)
* 0041B442 Module(sqlservr+0001B442) (CMsqlExecContext::ExecuteStmts+000003B9)
* 0041AA88 Module(sqlservr+0001AA88) (CMsqlExecContext::Execute+000001B6)
* 0041B9B6 Module(sqlservr+0001B9B6) (CSQLSource::Execute+00000357)
* 0048A63B Module(sqlservr+0008A63B) (language_exec+000003E1)
* 0042708C Module(sqlservr+0002708C) (process_commands+0000010E)
* 41075002 Module(UMS+00005002) (ProcessWorkRequests+00000272)
* 41074698 Module(UMS+00004698) (ThreadStartRoutine+00000098)
* 7800C9EB Module(MSVCRT+0000C9EB) (beginthread+000000CE)
* 77E8B2D8 Module(KERNEL32+0000B2D8) (lstrcmpiW+000000B7)

Note This problem does not occur in the original release version of Microsoft SQL Server 2000.


Service pack information

To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional 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

The English version of this fix has the file attributes (or later) 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
   25-Feb-2003  15:11  2000.80.777.0      29,244  Dbmslpcn.dll     
   07-Feb-2003  17:14                    786,432  Distmdl.ldf
   07-Feb-2003  17:14                  2,359,296  Distmdl.mdf
   29-Jan-2003  13:25                        180  Drop_repl_hotfix.sql
   07-Apr-2003  06:45  2000.80.801.0   1,557,052  Dtsui.dll        
   23-Apr-2003  14:21                    747,927  Instdist.sql
   29-Jan-2003  13:25                      1,402  Inst_repl_hotfix.sql
   07-Feb-2003  18:10  2000.80.765.0      90,692  Msgprox.dll      
   31-Mar-2003  13:37                      1,873  Odsole.sql
   04-Apr-2003  13:16  2000.80.800.0      62,024  Odsole70.dll     
   02-Apr-2003  09:18  2000.80.796.0      57,904  Osql.exe         
   02-Apr-2003  10:45  2000.80.797.0     279,104  Pfutil80.dll     
   04-Apr-2003  08:57                  1,083,467  Replmerg.sql
   04-Apr-2003  09:23  2000.80.798.0     221,768  Replprov.dll     
   07-Feb-2003  18:10  2000.80.765.0     307,784  Replrec.dll      
   31-Mar-2003  13:53                  1,084,828  Replsys.sql
   16-Apr-2003  10:09                    115,892  Sp3_serv_uni.sql
   07-Apr-2003  05:14                     25,172  Sqldumper.exe    
   19-Mar-2003  05:50  2000.80.789.0      28,672  Sqlevn70.rll
   23-Apr-2003  17:09  2000.80.811.0     176,696  Sqlmap70.dll     
   07-Feb-2003  18:10  2000.80.765.0      57,920  Sqlrepss.dll     
   23-Apr-2003  17:09  2000.80.811.0   7,540,817  Sqlservr.exe     
   07-Feb-2003  18:10  2000.80.765.0      45,644  Sqlvdi.dll       
   25-Feb-2003  15:11  2000.80.777.0      29,244  Ssmslpcn.dll     
   25-Feb-2003  15:11  2000.80.777.0      82,492  Ssnetlib.dll     
   27-Feb-2003  13:04  2000.80.778.0      98,872  Xpweb70.dll  

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


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


This hotfix may cause some queries against indexed views to run slower. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

906117 BUG: Queries against indexed views may run slower when you install a SQL Server 2000 post-S906117 hotfix, a SQL Server 2000 post-S906117a hotfix, or SQL Server 2000 SP4


For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

305333 PRB: Error "INSERT failed" when you update table referenced in an indexed view

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbhotfixserver kbqfe kbqfe kbview kbtable kbsqlserv2000presp4fix kbfix kbbug KB819248