Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Unhandled exception - Setting maximum on memory usage progress bar
mikeb41@aol.com
#1 Posted : Friday, February 3, 2012 10:10:49 AM(UTC)
Groups: Member
Joined: 2/2/2012(UTC)
Posts: 1

Was thanked: 1 time(s) in 1 post(s)
Love your product. I have a web service that I am writing - that takes millions of rows from a database and does lots of manipulations and calculations. Runs on my IIS server (Takes about 3.5GB of memory), but when I am trying to debug it in VS2010 and your 64bit web server, it starts throwing errors when it gets up over 2GB+ memory usage. It's trying to set the maximum property of the progress bar to a negative number. My guess is it's a int32 rather than an int64. I've pasted the error below.



See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Value of '-2147475456' is not valid for 'Maximum'. 'Maximum' must be greater than or equal to 0.
Parameter name: Maximum
at System.Windows.Forms.ProgressBar.set_Maximum(Int32 value)
at UWS.InteractiveUserServer.MainForm.memoryUsageTimer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.239 (RTMGDR.030319-2300)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

UWS.InteractiveServer.Clr4AnyCPU
Assembly Version: 1.0.0.14
Win32 Version: 1.0.0.14
CodeBase: file:///C:/Program%20Files%20(x86)/Common%20Files/Microsoft%20Shared/DevServer/10.0/WebDev.WebServer40.exe

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.235 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.232 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

UWS.Configuration
Assembly Version: 1.0.0.14
Win32 Version: 1.0.0.14
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/UWS.Configuration/1.0.0.14__cc16caed94880aaa/UWS.Configuration.dll

UWS.HighPrivilegeUtilities
Assembly Version: 1.0.0.14
Win32 Version: 1.0.0.14
CodeBase: file:///C:/Program%20Files%20(x86)/UltiDev/Web%20Server/UWS.HighPrivilegeUtilities.exe

UWS.MonitoringCommons
Assembly Version: 1.0.0.14
Win32 Version: 1.0.0.14
CodeBase: file:///C:/Program%20Files%20(x86)/UltiDev/Web%20Server/UWS.MonitoringCommons.DLL

System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll

UWS.WinUICommons
Assembly Version: 1.0.0.14
Win32 Version: 1.0.0.14
CodeBase: file:///C:/Program%20Files%20(x86)/UltiDev/Web%20Server/UWS.WinUICommons.dll

UWS.RequestProcessor
Assembly Version: 3.0.0.14
Win32 Version: 3.0.0.14
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/UWS.RequestProcessor/3.0.0.14__cc16caed94880aaa/UWS.RequestProcessor.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.225 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

UltiDevCassiniServerConfiguration
Assembly Version: 2.0.5.1
Win32 Version: 1.0.3.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/UltiDevCassiniServerConfiguration/2.0.5.1__cc16caed94880aaa/UltiDevCassiniServerConfiguration.dll

System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.225 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.225 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll


************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

1 user thanked mikeb41@aol.com for this useful post.
Ultidev Team on 2/3/2012(UTC)
Ultidev Team
#2 Posted : Friday, February 3, 2012 11:50:37 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Thank you much, Mike, for the positive feedback and for submitting a bug report that will make fixing this quick. The fix will be in the build 15, which we hope to release in a week or two.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.