Table error: The text, ntext, or image node at page, slot, text does not match its reference from page, slot.

Microsoft.SQLServer.2000.Table_error__The_text_ntext_or_image_node_at_page_slot_text__does_not_match_its_reference_from_page_slot (Rule)

Knowledge Base article:

Causes

There is a corruption inside a text object; a child node does not match its parent node in some way. The internals of check (simplified here) refer to nodes in a text object as either data or index. A text data node is one at the leaf of the text object, and holds the actual text itself. A text index node is one at a level higher than the leaf, all the way up to and including the text pointer or root in the actual data or index rows.

Per-state information:

State 1: The timestamp in the node does not match the timestamp in the parent.

State 2: The node is text data and its size is greater than or equal to the size its parent thinks it should be, or the node is text index and its size is not exactly what its parent thinks it should be.

State 4: A node is text data, but its parent thinks it is text index (or vice-versa), or a node is text index, but its level does not match the level its parent thinks it should have.

Resolutions

HARDWARE FAILURE

Run hardware diagnostics and correct any problems. Also examine the Microsoft® Windows NT® system and application logs and the SQL Server™ error log to see if the error occurred as the result of hardware failure. Fix any hardware related problems.

If you have persistent data corruption problems, try to swap out different hardware components to isolate the problem. Check to ensure that your system does not have write caching enabled on the disk controller. If you suspect this to be the problem, contact your hardware vendor.

Finally, you might find it beneficial to switch to a completely new hardware system, including reformatting the disk drives and reinstalling the operating system.

RESTORE FROM BACKUP

If the problem is not hardware related and a known clean backup is available, restore the database from the backup.

DBCC CHECKDB

If no clean backup is available, execute DBCC CHECKDB without a repair clause to determine the extent of the corruption. DBCC CHECKDB will recommend a repair clause to use. Then, execute DBCC CHECKDB with the appropriate repair clause to repair the corruption.

CAUTION: If you are unsure what effect DBCC CHECKDB with a repair clause has on your data, contact your primary support provider before executing this statement.

CAUTION: Repair will cause both text nodes and their sub-trees to be dropped.

CAUTION: This repair may cause data loss.

CAUTION: If running DBCC CHECKDB with one of the repair clauses does not correct the problem, contact your primary support provider.

Element properties:

TargetMicrosoft.SQLServer.2000.DBEngine
CategoryEventCollection
EnabledTrue
Event Source$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
Table error: The text, ntext, or image node at page, slot, text does not match its reference from page, slot.
{0}
Event LogApplication
CommentMom2005ID='{C11BDDEC-3C43-4BE0-A818-ED9D878AB29C}'

Member Modules:

ID Module Type TypeId RunAs 
EventDS DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SQLServer.2000.Table_error__The_text_ntext_or_image_node_at_page_slot_text__does_not_match_its_reference_from_page_slot" Target="SQL2000Core!Microsoft.SQLServer.2000.DBEngine" Enabled="true" Comment="Mom2005ID='{C11BDDEC-3C43-4BE0-A818-ED9D878AB29C}'" Remotable="true">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="EventDS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesMOM2005RegularExpression</Operator>
<Pattern>^(17052|17055)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDescription</XPathQuery>
</ValueExpression>
<Operator>MatchesMOM2005BooleanRegularExpression</Operator>
<Pattern>((^.*8961 and (not ^.*\n.*8961)) or (^.*8961.*\n.*8961)) AND (NOT ^.*[0-9]+.*8961) AND (NOT ^.*8961[0-9]+)</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertOwner>$Data/PublisherName$</AlertOwner>
<AlertMessageId>$MPElement[Name="Microsoft.SQLServer.2000.Table_error__The_text_ntext_or_image_node_at_page_slot_text__does_not_match_its_reference_from_page_slot.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>