Microsoft Knowledge Base Email Alertz

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

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 913278 - Last Review: October 27, 2006 - Revision: 3.2

Error message in the MOM 2005 Web console: "Value was either too large or too small for an Int32"

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
    These computer attributes are used by the management pack.

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 (Site), 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.

STATUS

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

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.

APPLIES TO
  • Microsoft Operations Manager (MOM) 2005
Keywords: 
kbtshoot kbfix kbbug kbprb KB913278
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Gary Hawkins - gary.hawkinss NOSPAM-AT-NOSPAM uk.imptob.com Report As Irrelevant  
Written: 3/28/2006 2:57 AM
We are suffering this problem and have followed the resolution but it has not fixed the issue. does it require a restart of any services to force the changes to propagate?