FIX: You receive a "Server Error in 'Your CMS Web' Application" error message in Content Management Server 2002 Service Pack 1a (SP1a)

This article has been archived. It is offered "as is" and will no longer be updated.
When you compare revisions on a Microsoft Content Management Server 2002 Service Pack 1a (SP1a) posting that has a file size that is larger than 500 KB, you may receive an error message that is similar to the following:
Server Error in 'Your CMS Web' Application.

Exception occurred. Description: An unhandled exception occurred during the execution of the current web request.

Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: Exception occurred.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: [COMException (0x80020009): Exception occurred.] Microsoft.ContentManagement.Interop.CompareHtml.CompareClass.CompareBuffers(String bstrOldContent, String bstrNewContent, Boolean bSrcCompare) +0
Microsoft.ContentManagement.WebAuthor.PageRevisionCompareInfo.GetCompareResultHtml() +752
Microsoft.ContentManagement.WebAuthor.PageRevisionCompareInfo.Page_Load(Object sender, EventArgs e) +1264
System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
Content Management Server uses a buffer when it generates the HTML code to perform a revision comparison. The buffer has a fixed size of 500 KB. This problem occurs if the size of the postings that you want to compare is larger than 500 KB.

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.


Content Management Server 2002 SP1a

Restart requirement

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

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

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   --------------------------------------------------------------------------------   20-Oct-2004  19:20  5.0.4530.0    317,952  Aeinterfaces.dll   20-Oct-2004  19:25  5.0.4530.0  1,193,472  Aeserverobject.dl   20-Oct-2004  19:25  5.0.4530.0    101,888  Comparehtml.dll   20-Oct-2004  19:25  5.0.4530.0    751,616  Serverconfigurationapi.dll   20-Oct-2004  19:20     24,725  Versioncomparisonbuffersizeconfig.exe
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For additional 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
This hotfix includes a tool that is named Versioncomparisonbuffersizeconfig.exe. You can run this tool on the computer that is running Content Management Server. You can use this tool to change the buffer size for generating HTML code.

Note If you set the buffer size value too high, the process may not be able to allocate the memory for Content Management Server. For example, if you set the buffer size value to 100 MB, there may be insufficient available memory for the process to allocate.

Article ID: 886909 - Last Review: 10/27/2013 06:35:00 - Revision: 2.2

Microsoft Content Management Server 2002 Service Pack 1a

  • kbnosurvey kbarchive kbautohotfix kbqfe kbhotfixserver kbfix kbbug kbcontentmgtserv2002presp2fix KB886909