FIX: .NET Programs Are Slow to Load When Running Under a Domain (318738)



The information in this article applies to:

  • Microsoft .NET Framework SDK 1.0
  • Microsoft ASP.NET (included with the .NET Framework) 1.0
  • Microsoft .NET Framework Class Libraries 1.0

This article was previously published under Q318738

SYMPTOMS

Programs that are developed by using the Microsoft .NET Framework are slow to load when you run the programs on a computer that is part of a domain.

When you double-click the executable file to start a .NET program, several seconds (sometimes as long as 30 seconds) may pass before the first form appears. This delay occurs with any .NET program, including console applications.

CAUSE

This behavior is caused by a bug in the .NET Framework runtime because some of the initialization code in the common language runtime requires the presence of an ASP.NET account. This problem occurs only on computers that are part of a domain.

RESOLUTION

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

318836 INFO: How to Obtain the Latest .NET Framework Service Pack

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft .NET Framework Service Pack 2 (SP2).

MORE INFORMATION

Programs can be slow to load for other reasons, such as program size and complexity. If you experience long loading time for only one specific program, then the cause probably is related to that program. The bug described in this article affects all .NET programs that you run on the affected computer, even very simple programs.

This bug affects only the time required to load the program. Program performance is typical after the program loads.

Modification Type:MajorLast Reviewed:9/18/2003
Keywords:kbbug kbfix kbNetFrame100SP2fix KB318738