Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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

View products that this article applies to.


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.

↑ Back to the top


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.

↑ Back to the top


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

↑ Back to the top


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).

↑ Back to the top

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.

↑ Back to the top


Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

↑ Back to the top

Keywords: KB318738, kbnetframe100sp2fix, kbfix, kbbug

↑ Back to the top

Article Info
Article ID : 318738
Revision : 6
Created on : 2/12/2007
Published on : 2/12/2007
Exists online : False
Views : 515