FIX: The Visual Studio .NET 2002 IDE crashes when a double array property of a user control is set to a very small value or to a very large value

Article translations Article translations
Article ID: 834907 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page

SYMPTOMS

The Microsoft Visual Studio .NET 2002 IDE stops responding when you build a solution or when you try to open a form that hosts a Microsoft .NET Framework 1.0 user control in Designer view. This problem occurs when a double array property of a user control is set to a very small value or to a very large value. You do not receive an error message when this problem occurs. If you try to reopen the solution, the Visual Studio .NET 2002 IDE stops responding again. You still do not receive an error message. A value such as 1E210 could cause this problem to occur.

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for the Microsoft .NET Framework 1.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
318836 How to obtain the latest .NET Framework 1.0 service pack

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next .NET Framework 1.0 that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Date         Time   Version         Size       File name
--------------------------------------------------------------------------
02-Sep-2004  03:57  7.0.9764.0        589,824  Cscomp.dll       
02-Sep-2004  04:24  7.0.9764.0        716,800  Cslangsvc.dll    
02-Sep-2004  10:43  1.0.3705.482    1,179,648  Microsoft.visualstudio.dll

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in the .NET Framework 1.0 Service Pack 2.

MORE INFORMATION

Steps to reproduce the behavior

  1. Start Microsoft Visual Studio .NET.
  2. On the File menu, point to New, and then click Project.
  3. In the Project Types section, click Visual C# Projects.
  4. In the Templates section, click Windows Application, type Q834907 in the Name box, and then click OK.
  5. On the File menu, click Add New Item.
  6. In the Add New Item dialog box, click User Control, and then click Open.
  7. On the View menu, click Code.
  8. In UserControl1.cs, add the following code.
    double[] _ArrayOfDoubles = new double[5];
    public double[] ArrayOfDbl
    {
    	get
    	{
    		return _ArrayOfDoubles;
    	}
    	set
    	{
    		_ArrayOfDoubles = value;
    	}
    } 
    
  9. On the Build menu, click Build Solution.
  10. In the Form1 design view, drag UserControl1 from My User Controls in the toolbox to the Form1 form.
  11. Select the ArrayofDbl property of the user control in Properties.
  12. Set the value of 1E210 for the first member in the array.
  13. On the Build menu, click Rebuild Solution.

Properties

Article ID: 834907 - Last Review: October 26, 2013 - Revision: 2.5
APPLIES TO
  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Architect
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Academic Edition
  • Microsoft .NET Framework 1.0
Keywords: 
kbnosurvey kbarchive kbfix kbqfe kbnetframe100sp2fix kbprogramming kbideproject kbhotfixserver KB834907

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com