Microsoft KB Archive/890666

= FIX: Critical startup events are not logged in the .NET Framework 1.1 Service Pack 1 =

Article ID: 890666

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft .NET Framework 1.1 Service Pack 1

-





Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
Critical startup events are not logged in the Microsoft .NET Framework 1.1 Service Pack 1.



CAUSE
The .NET Framework 1.1 Service Pack 1 does not use any kind of logging facility to capture critical startup events. Therefore, you may experience problems when you try to troubleshoot critical startup problems.



Software update 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.1 service pack 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.

Prerequisites
The .NET Framework 1.1 Service Pack 1

Restart requirement
You must restart your computer after you apply this software update.

Software update replacement information
This does not replace any other hotfixes.

File information
The English version of this software update 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 -- 17-Nov-2004 05:57  1.1.4322.2048  2,138,112  Mscorlib.dll 16-Nov-2004 02:28  1.1.4322.2048  2,514,944  Mscorsvr.dll 16-Nov-2004 02:29  1.1.4322.2048  2,506,752  Mscorwks.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To use the logging facility in this hotfix, follow these steps:  Add the  value to the   subkey. To do this, follow these steps:  Click Start, click Run, type regedit, and then click OK. In the Registry Editor window, expand  in the left pane. Right-click .NetFramework, point to New, and then click DWORD Value.</li> Name the new DWORD value &quot;StressLog.&quot;</li> Right-click StressLog in the right pane, and then click Modify.</li> In the Edit DWORD Value dialog box, type 1 in the Value data box, and then click OK.</li></ol> </li> Start the process that you want to troubleshoot in the Windbg debugger.</li> When startup fails or when a problem occurs, you can put the log information in the Windbg debugger. You can do this by using the Sos.dll file. You can issue the following commands to use the Sos.dll file in the Windbg debugger: <ol style="list-style-type: lower-alpha;"> Type the following command at the command line to load the Sos.dll file in the Windbg debugger:

.load sos.dll </li> Type the following command to load the dump file:

!DumpLog [ ]

Note By default, if you do not specify a file name, StressLog.txt is loaded.</li></ol> </li></ol>

<div class="references_section">