An Error Occurs When You Use the PostingObject.Approvers(Boolean) Method (828278)



The information in this article applies to:

  • Microsoft Content Management Server 2002 SP1

SYMPTOMS

After you install Microsoft Content Management Server (MCMS) 2002 Service Pack 1 (SP1), an error may occur when you use the PostingObject.Approvers(Boolean) method. This method is part of the MCMS 2002 API. You may receive an error message that is similar to the following:
Server Error in '/ApplicationName' Application. -------------------------------------------------------------------------------- Server error. Contact the site administrator. 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: Server error. Contact the site administrator. Source Error: Line 57: pst = Microsoft.ContentManagement.Publishing.CmsHttpContext.Current.Posting; Line 58: Line 59: usrs = pst.Approvers(true); Line 60: Line 61: Response.Write("Hello World: " + usrs.Count ); Source File: c:\inetpub\wwwroot\applicationname\username.aspx.cs Line: 59 Stack Trace: [COMException (0x80041b58): Server error. Contact the site administrator.] Microsoft.ContentManagement.Interop.Publishing.IRcwPosting.get_Approvers (Boolean doExpandUserGroups) +0 Microsoft.ContentManagement.Publishing.Posting.Approvers(Boolean doExpandUserGroups) +47 [CmsServerException: Server error. Contact the site administrator.] Microsoft.ContentManagement.Publishing.Posting.Approvers(Boolean doExpandUserGroups) +81 ApplicationName.username.Button1_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\applicationname\username.aspx.cs:59 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain() +1277 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

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
   ------------------------------------------------------------------------------------------
   22-Aug-2003  00:54                 1,056  Eula.rtf
   10-Sep-2003  00:12                73,728  Microsoftcontentmanagementserver2002patch.msp
   10-Sep-2003  00:15                 8,192  Microsoftcontentmanagementserver2002unpatch.msp
   18-Jul-2003  06:53  1.0.12.0     347,648  Setup.exe        
   10-Sep-2003  00:09                 1,260  Setup.xml 

STATUS

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

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