Microsoft KB Archive/817607

= Unexpected Increases in Memory Usage When You Use IKnowledgeDocument::Fields::get_Count =

Article ID: 817607

Article Last Modified on 2/21/2007

-

APPLIES TO


 * Microsoft SharePoint Portal Server 2001
 * Microsoft SharePoint Portal Server 2001 Service Pack 2

-



SYMPTOMS
When you create and run a custom program in SharePoint Portal Server that contains a call to get_Count on the Fields collection of an IKnowledgeDocument, memory usage may increase steadily on the server. This may eventually cause the server to stop responding (hang).



CAUSE
This problem may occur in situations when you use the Microsoft OLE DB provider for Internet Publishing (Msdaipp.dll) and ActiveX Data Objects (ADO), and the code that contains IKnowledgeDocument::Fields::get_Count occurs in a loop.



RESOLUTION
This problem was first fixed in a hotfix that is now contained in a service pack. If you have installed SharePoint Portal Server 2001 Service Pack 3 or a later service pack, you do not have to apply the hotfix.

Service pack information
This problem was first corrected in SharePoint Portal Server 2001 Service Pack 3.

To resolve this problem, obtain the latest service pack for Microsoft SharePoint Portal Server 2001. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

312963 How to obtain the latest SharePoint Portal Server 2001 service pack

Hotfix information
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next SharePoint Portal Server 2001 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The global 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 --- 28-Mar-2003 20:15                  498,688    Msdaipp.msp 25-Mar-2003 14:15  10.145.6011.12  1,187,840  Msdaipp.dll

Note Because of file dependences, this hotfix requires SharePoint Portal Server Service Pack 2 (SP2) or SharePoint Portal Server Service Pack 2a (SP2a).



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem was first corrected in SharePoint Portal Server 2001 Service Pack 3.



MORE INFORMATION
For more information about how to create custom programs and extensions to SharePoint Portal Server, see the SharePoint Portal Server Software Development Kit (SDK). To do so, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms965963.aspx

Keywords: kbhotfixserver kbqfe kbshareptportalsvr2001sp3fix kbprb kbfix kbbug KB817607

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.