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



The information in this article applies to:

  • Microsoft Content Management Server 2002 SP1a

SYMPTOMS

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

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

RESOLUTION

Hotfix information

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.

Prerequisites

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  5.0.0.4530     24,725  Versioncomparisonbuffersizeconfig.exe

STATUS

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

MORE INFORMATION

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.

Modification Type:MajorLast Reviewed:4/7/2006
Keywords:kbQFE KBHotfixServer kbfix kbBug kbContentMgtServ2002preSP2Fix KB886909 kbAudDeveloper kbAudEndUser