FIX: You receive a "server error in '/ReproResGallery' application" error message when you use the Default Resource Gallery option in MCMS

This article has been archived. It is offered "as is" and will no longer be updated.
In Microsoft Content Management Server (MCMS) 2002, when you add a resource from a resource gallery during a Web Authoring session, you may receive the following error message:
Server Error in '/ReproResGallery' Application.
Input string was not in a correct format. 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.FormatException: Input string was not in a correct format.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: [FormatException: Input string was not in a correct format.] System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +0 Microsoft.Web.UI.WebControls.TreeView.GetNodeFromIndex(String strIndex) +237 Microsoft.ContentManagement.WebAuthor.BaseTree.TreeView_OnExpand(Object sender, TreeViewClickEventArgs e) +18 Microsoft.Web.UI.WebControls.TreeView.OnExpand(TreeViewClickEventArgs e) +21 Microsoft.ContentManagement.WebAuthor.ResourceGalleryTree.ExpandToCurr(String index) +104 Microsoft.ContentManagement.WebAuthor.ResourceGalleryTree.InitExpand() +61 Microsoft.ContentManagement.WebAuthor.ResourceGalleryTree.OnLoad(EventArgs e) +41 System.Web.UI.Control.LoadRecursive() +29 System.Web.UI.Control.LoadRecursive() +92 System.Web.UI.Control.LoadRecursive() +92 System.Web.UI.Control.LoadRecursive() +92 System.Web.UI.Control.LoadRecursive() +92 System.Web.UI.Page.ProcessRequestMain() +724
Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET Version:1.0.3705.288
This problem occurs when you enable the Default Resource Gallery option in MCMS 2002 if the parent resource gallery of the resource gallery that you want to use contains more than 10 galleries.

When you use Web Author, MCMS may select the wrong resource gallery. Therefore, the wrong gallery is expanded. If the selected resource gallery is a child of this incorrectly expanded gallery, an exception error occurs when you add a resource to the current page.
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.

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.

MCMS 2002 Service Pack 1 (SP1)

   Date         Time   Version     Size     File name   ----------------------------------------------------------------------------------   28-Aug-2003  11:37  5.0.2503.0  372,736  Microsoft.ContentManagement.WebAuthor.dll

MCMS 2002 SP1a

   Date         Time   Version     Size     File name   ----------------------------------------------------------------------------------   04-Feb-2004  09:45  5.0.4503.0  372,736  Microsoft.ContentManagement.WebAuthor.dll
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

Article ID: 827177 - Last Review: 01/11/2015 05:20:30 - Revision: 2.5

  • Microsoft Content Management Server 2002
  • kbnosurvey kbarchive kbautohotfix kbhotfixserver kbqfe kbhotfixserver kbqfe kbbug kbfix kbcontentmgtserv2002presp2fix KB827177