<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener("load", function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <iframe src="http://www.blogger.com/navbar.g?targetBlogID=12803833&amp;blogName=thomasnguyen.com&amp;publishMode=PUBLISH_MODE_FTP&amp;navbarType=TAN&amp;layoutType=CLASSIC&amp;homepageUrl=http%3A%2F%2Fwww.thomasnguyen.com%2Fblog%2F&amp;searchRoot=http%3A%2F%2Fblogsearch.google.com%2F" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" height="30px" width="100%" id="navbar-iframe" title="Blogger Navigation and Search"></iframe> <div></div>
home blog contact

System.OverflowException!!!
Thursday, July 03, 2008
This is the first time in my life I've actually run into an OverflowException when converting a string value to C#'s Int32. It's time to upgrade and beef up the application to handle Int64 in certain scenarios. Time to play with the big boys.

The max value for an Int32 is 2,147,483,647.
The max value for an Int64 is 9,223,372,036,854,775,807.

Here's my Event Log:
Event Type: Error
Event Source: Secure Vantage Audit Collection Admin
Event Category: None
Event ID: 0
Date: 7/3/2008
Time: 1:39:23 PM
User: N/A
Computer: CLEAN-OPSMGR
Description:
Could not update AuditCollectionAdminServices.

System.OverflowException: Value was either too large or too small for an Int32.
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.String.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Convert.ToInt32(Object value)
at SecureVantage.OpsMgr.Consoles.Services.AuditCollectionAdmin.DataAccess. AdtAdminData.GetStats() in C:\apps\opsmgr-consoles_BUILD_0.2_Beta\src\Services.AuditCollectionAdmin\DataAccess\AdtAdminData.cs:line 66

...


So what the hell is Audit Collection Admin Services? It's a BETA product I'm currently fine tuning for SecureVantage. WHOOOHOOO!

Labels: ,



0 Comments

Add a comment





Recent Posts
Vacation in Chicago, IL.
Studying for the GMAT.
SVNMigration Project.
Santa Marta, Colombia - 5/5.
Santa Marta, Colombia - 4/5.
Santa Marta, Colombia - 3/5.
Santa Marta, Colombia - 2/5.
Santa Marta, Colombia - 1/5.
MMS2008 - Las Vegas, NV.
Getting Involved Again.

Archives
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
July 2008
August 2008
September 2008
October 2008

Blogger
copyright 2006-2008 | thomasnguyen.com

Google Reader flickr del.icio.us nike+