Microsoft.NET Framework error

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

snbdye2000

Thread Starter
Joined
Apr 12, 2008
Messages
4
I have been trying to download updates from Gateway that I need, and the following error comes up:
Microsoft.NET Framework
An unhandled exception has occured in your application. If you click continue the application will ignore this error and attempt to continue. If you click Quit, the application will be shut down immediately.
'-1' is not a valid number for maximum. Maximum must be greater than or equal to 0.

I get this same error when trying to download an update from microsoft. Anyone able to help fix this?
Thanks!
I am running windows xp home on a gateway computer.
 
Joined
May 27, 2006
Messages
7
I kept having problems with the .NET 2.0 SP1 update hanging immediately after the install initialized (using Windows Update) - would sit there for an hour or more & do nothing. I repeatedly rebooted & attempted the install, each time with the same result, it would just hang immediately after initialization. This was over a number of days, BTW. On XPP.

I decided to try to uninstall 2.0 and reinstall it, but got an error message saying that the SP1 install was currently suspended, do I want to uninstall anyway? I said 'Yes' & let it uninstall. Now I can't get the 2.0 distributable to install - I get a message saying that 2.0 is incompatible with a previously installed version. Same with the SP1 distributable.

I have the same problem with the .NET 2.0 SP1 update using Windows Update on another XP MCE rig but have not resorted to uninstalling anything there.

Will the 3.5 distributable reconstitute everything?
 
Joined
May 27, 2006
Messages
7
I get a message saying that 2.0 is incompatible with a previously installed version
The MSKB article on this error says to simply uninstall SP1 before attempting to re-install 2.0. Problem is, SP1 is not actually installed, the installation is 'suspended' as far as the OS is concerned and there is no entry for SP1 in Add/Remove Programs & therefore no way to uninstall SP1.

Hope that helps a bit.
 
Joined
Aug 1, 2003
Messages
51,988
I kept having problems with the .NET 2.0 SP1 update hanging immediately after the install initialized (using Windows Update) - would sit there for an hour or more & do nothing. I repeatedly rebooted & attempted the install, each time with the same result, it would just hang immediately after initialization. This was over a number of days, BTW. On XPP.

I decided to try to uninstall 2.0 and reinstall it, but got an error message saying that the SP1 install was currently suspended, do I want to uninstall anyway? I said 'Yes' & let it uninstall. Now I can't get the 2.0 distributable to install - I get a message saying that 2.0 is incompatible with a previously installed version. Same with the SP1 distributable.

I have the same problem with the .NET 2.0 SP1 update using Windows Update on another XP MCE rig but have not resorted to uninstalling anything there.

Will the 3.5 distributable reconstitute everything?
Please start your own thread for your own problem. But 3.5 is not a fix far all that is wrong with .NET. You may be better off uninstalling all of them and starting over.
 

snbdye2000

Thread Starter
Joined
Apr 12, 2008
Messages
4
I still get the same error after downloading the newer .net. On the error there is a details button and below is what it says, if that helps at all?

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 '-1' 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 Downloader.Downloading.Downloader_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Downloader
Assembly Version: 1.0.1430.20500
Win32 Version: 1.0.1430.20500
CodeBase: file:///C:/Program%20Files/Gateway/Gateway%20Download%20Assistant/downloader.exe
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
GWAssistant
Assembly Version: 1.0.1430.20494
Win32 Version: 1.0.1430.20494
CodeBase: file:///C:/Program%20Files/Gateway/Gateway%20Download%20Assistant/GWAssistant.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINNT/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
Gateway.Net
Assembly Version: 1.1.0.20495
Win32 Version: 1.1.0.20495
CodeBase: file:///C:/Program%20Files/Gateway/Gateway%20Download%20Assistant/Gateway.Net.DLL
----------------------------------------
Gateway.Windows
Assembly Version: 1.1.0.20499
Win32 Version: 1.1.0.20499
CodeBase: file:///C:/Program%20Files/Gateway/Gateway%20Download%20Assistant/Gateway.Windows.DLL
----------------------------------------
Gateway.Windows.IE
Assembly Version: 1.1.0.20495
Win32 Version: 1.1.0.20495
CodeBase: file:///C:/Program%20Files/Gateway/Gateway%20Download%20Assistant/Gateway.Windows.IE.DLL
----------------------------------------
AxInterop.SHDocVw
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files/Gateway/Gateway%20Download%20Assistant/AxInterop.SHDocVw.DLL
----------------------------------------
Interop.SHDocVw
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files/Gateway/Gateway%20Download%20Assistant/Interop.SHDocVw.DLL
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.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.
 
Joined
Aug 1, 2003
Messages
51,988
It looks like version 2 of .NET that is causing the problem. Try reinstalling that and any updates to 2.0.
 

snbdye2000

Thread Starter
Joined
Apr 12, 2008
Messages
4
on my add/remove program list, I have the following on there: .net 2.0 service pack 1, 3.0 service pack 1 and version 3.5. Should I remove all of them and then download 2 or 3.5 again you think? Or just keep what's there and download version 2 like you said? Thanks for your help....
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top