PC Review


Reply
Thread Tools Rate Thread

Arithmetic Overflow (Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(StringValue)) occurres for SINGLE client

 
 
mats__johansson@hotmail.com
Guest
Posts: n/a
 
      17th Feb 2008
Hello everyone!

I´m struggling with a strange problem. I have built an application in
asp.net 2.0 and it works for all users but one. This particular user
gets an arithmetic overflow directly after passing the login.aspx. I
have tried different startpages but the error still occurres.
(probably because Convert.ToInt32 occurres on pretty much all
pages...)

The thing to focus on is the fact that this problem only occurres on
one client computer.

The only hint I´ve gotten so far is the fact that the locale settings
in windows XP (in this case with sp2) can get mixed up with service
pack 2 and the thing to look for is in the registry under:

HKEY_CURRENT_USER/Control Panel/International/

The key: sPositiveSign

Right click on it, choose Modify Binary Data and make sure to little
dotts recide on the far right.

I´ve done this and they are where they are supposed to be.
That post also read that switching locale from lets say English to
Swedish and back again could reset and fix this problem (although no
changes could be noticed in registry)

Tried that too, no luck.

I feel like I have nothing left to use as search expressions. Nothing
occurrs that is remotely close to this.
Please help....

Here is the error message:

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 2008-02-12
Time: 10:59:00
User: N/A
Computer:
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 2008-02-12 10:59:00
Event time (UTC): 2008-02-12 09:59:00
Event ID: a329ee37fa8644928746dfb8cb08d79e
Event sequence: 2
Event occurrence: 1
Event detail code: 0


Application information:
Application domain: XXXXXXXXXXXXX
Trust level: Full
Application Virtual Path: /
Application Path:
Machine name:

Process information:

Process ID: 3708
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:

Exception type: OverflowException
Exception message: Arithmetic operation resulted in an overflow.

Request information:

Request URL: http://XXXXXXXXX/login.aspx?ReturnUrl=/Default.aspx
Request path: /login.aspx
User host address:
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at
Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String
Value)
at Login.Login1_Authenticate(Object sender, AuthenticateEventArgs
e)
at
System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs
e)
at System.Web.UI.WebControls.Login.AttemptLogin()
at System.Web.UI.WebControls.Login.OnBubbleEvent(Object source,
EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs
args)
at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument)
at
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection
postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)




Again, I´m very thankful for any ideas about this.

/Mats
 
Reply With Quote
 
 
 
 
mats__johansson@hotmail.com
Guest
Posts: n/a
 
      20th Feb 2008
This turned out to be a bug in our application. We were calculating
timezoneoffset in regards to UTC time and ended up with a conversion
to integer of a negative value. Just like the error stated....
(Checking the "Automatically adjust clock to dayligt saving changes"
made it work, unchecking produced the error. )
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VisualBasic.CompilerServices Error Chris Mullins [MVP] Microsoft Dot NET Compact Framework 0 19th Mar 2007 07:31 PM
Could not create Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, alanwo@gmail.com Microsoft Dot NET Framework 5 1st Aug 2006 08:15 PM
'DesignGeneratedAttribute' is ambiguous in the namespace 'Microsoft.VisualBasic.CompilerServices'. bennett.sean@gmail.com Microsoft Dot NET 1 21st Dec 2005 05:07 PM
Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet error Object reference not set RJN Microsoft VB .NET 1 27th Feb 2005 12:59 PM
Bug in Microsoft.VisualBasic.CompilerServices.Utils.MethodToString() method SR Microsoft Dot NET 0 13th Aug 2003 04:20 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:25 PM.