You receive a "COMException" error message when you use Revision History to compare two postings in Content Management Server 2002 (837281)



The information in this article applies to:

  • Microsoft Content Management Server 2002 SP1
  • Microsoft Content Management Server 2002 SP1a

SYMPTOMS

In Microsoft Content Management Server 2002, when you use Revision History to compare two postings, you may receive the following error message:
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

CAUSE

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 kilobytes (KB). This problem occurs if the size of the postings that you want to compare is greater than 500 KB.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Content Management Server 2002 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site: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 usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this hotfix 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
   --------------------------------------------------------------------------------
   04-Mar-2004  02:04  5.0.2525.0    316,416  Aeinterfaces.dll
   04-Mar-2004  02:05  5.0.2525.0  1,233,408  Aeserverobject.dll
   04-Mar-2004  02:05  5.0.2525.0    101,888  Comparehtml.dll
   04-Mar-2004  02:06  5.0.2525.0    753,152  Serverconfigurationapi.dll
   04-Mar-2004  02:06  5.0.0.2525     24,725  Versioncomparisonbuffersizeconfig.exe

MORE INFORMATION

This hotfix includes a tool that is named Versioncomparisonbuffersizeconfig.exe. You can run this tool on the computer that is running Content Management Server. This tool permits you 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 megabytes (MB), the process may not be able to allocate that much memory.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Modification Type:MinorLast Reviewed:10/26/2005
Keywords:kbHotfixServer kbQFE kbHotfixServer kbQFE kbQFE kbbug kbfix kbContentMgtServ2002preSP2Fix KB837281 kbAudDeveloper