Microsoft Knowledge Base Email Alertz

KBAlertz.com: (295053) - When you use OPENXML to expose XML data directly to Transact-SQL manipulation, the following error message may appear in your application error log: clean_tables_xact: active sdes for tabid -170425569

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 295053 - Last Review: October 29, 2003 - Revision: 3.2

FIX: OPENXML May Leak Worktables in Memory

This article was previously published under Q295053
BUG #: 351736 (SHILOH_BUGS)

On This Page

SYMPTOMS

When you use OPENXML to expose XML data directly to Transact-SQL manipulation, the following error message may appear in your application error log:
clean_tables_xact: active sdes for tabid -170425569

CAUSE

This regression bug was first seen in Build 6805. The use of the Msxml.dll file version 2.6 with hotfixes for Build 6805 do not dereference SQLOLEDB calls from IRowset to MSXML.

RESOLUTION

To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
290211  (http://kbalertz.com/Feedback.aspx?kbNumber=290211/EN-US/ ) INF: How to Obtain the Latest SQL Server 2000 Service Pack

WORKAROUND

Use the version of the Msxml2.dll file provided with SQL Server to prevent the memory leak.

STATUS

Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.

MORE INFORMATION

Step to Reproduce Behavior

  1. Run the following script from the SQL Query Analyzer:
    declare @strDoc nvarchar(2000)
    set @strDoc = '<!DOCTYPE root [ <!ELEMENT root (row)*> <!ELEMENT row (subrow)*> <!ELEMENT subrow EMPTY><!ATTLIST row dd CDATA #FIXED "dd value">]><root><row dd="dd value"/><row></row></root>'
    declare @h int
    exec sp_xml_preparedocument @h output, @strDoc
    select * from openxml(@h,'root/row',9) with (rid int '@mp:id',rparent int '@mp:parentid', dd char(10), xmltext ntext '@mp:xmltext')
    exec sp_xml_removedocument @h
    
    					
  2. Close the connection.
  3. Check the SQL Server error log.

APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft XML Parser 2.6
Keywords: 
kbbug kbfix kbmsxmlnosweep kbsqlserv2000sp1fix KB295053
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please