Microsoft KB Archive/913278

= Error message in the MOM 2005 Web console: &quot;Value was either too large or too small for an Int32&quot; =

Article ID: 913278

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Operations Manager (MOM) 2005

-



SYMPTOMS
When you try to use the Computer view in the Microsoft Operations Manager (MOM) 2005 Web console, the details pane displays the following error message:

Server Error in '/' Application.

Value was either too large or too small for an Int32. 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.OverflowException: Value was either too large or too small for an Int32.

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:

[OverflowException: Value was either too large or too small for an Int32.] System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +0 Microsoft.EnterpriseManagement.Mom.Attribute.get_Value +415

[TargetInvocationException: Property accessor 'Value' on object 'Microsoft.EnterpriseManagement.Mom.Attribute' threw the following exception:'Value was either too large or too small for an Int32.'] System.ComponentModel.ReflectPropertyDescriptor.GetValue(Object component) +423 System.Web.UI.WebControls.BoundColumn.OnDataBindColumn(Object sender, EventArgs e) +202 System.Web.UI.Control.OnDataBinding(EventArgs e) +66 System.Web.UI.Control.DataBind +26 System.Web.UI.Control.DataBind +86 System.Web.UI.WebControls.DataGrid.CreateItem(Int32 itemIndex, Int32 dataSourceIndex, ListItemType itemType, Boolean dataBind, Object dataItem, DataGridColumn[] columns, TableRowCollection rows, PagedDataSource pagedDataSource) +169 System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean useDataSource) +1408 System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +49 System.Web.UI.WebControls.BaseDataList.DataBind +23 Microsoft.EnterpriseManagement.Mom.UI.WebConsole.computerdetail.Page_Load(Object sender, EventArgs e) +356 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive +35 System.Web.UI.Page.ProcessRequestMain +750



CAUSE
This problem occurs if the following conditions are true:  Microsoft Availability Reporting Management Pack for Microsoft Operations Manager 2005 has been installed. One of the following MOM computer attributes exceeds an integer value:  Bias StandardBias DayLightBias ActiveTimeBias</ul>

These computer attributes are used by the management pack.</li></ul>

<div class="resolution_section">

RESOLUTION
To resolve this problem, change the attribute type for these computer attributes from an integer type to a string type in the MOM Administrator console. To change the attribute type, follow these steps:
 * 1) Open the MOM 2005 Administrator console.
 * 2) Expand Microsoft Operations Manager , expand Management Packs, and then click Computer Attributes.
 * 3) In the details pane, right-click the Bias attribute, and then click Properties.
 * 4) On the Bias properties page, click the Value tab.
 * 5) From the Retrieve registry value and convert to list, click string, and then click OK.
 * 6) Repeat steps 3 through 5 for the ActiveTimeBias, DayLightBias, and StandardBias attributes.
 * 7) Close the MOM 2005 Administrator console.

e.

<div class="status_section">

STATUS
This problem has been corrected in the latest version of the Availability Management Pack. That version is currently 05.0.5000.0000.

<div class="moreinformation_section">

MORE INFORMATION
Typically, when the Automatically adjust clock for daylight saving changes setting is selected in Date and Time in Control Panel, the MOM agent causes the DayLightBias attribute to exceed an integer value.

Keywords: kbtshoot kbfix kbbug kbprb KB913278

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.