Consider the following scenario:
| • | You create a managed service that uses the Microsoft .NET
Framework 2.0. |
| • | You run the managed service on a computer that is running
the .NET Framework 2.0. |
In this scenario, the managed service is not stopped in a timely
manner on the computer when the operating system shuts down. Therefore, you may
experience delays when the operating system shuts down.
Back to the top
When you shut down the operating system, the
OnShutdown method is called. However, the
OnShutdown method does not change the system state to the Stop state. This
behavior causes the service to appear unresponsive. Therefore, the shutdown
process is delayed.
Back to the top
Service pack information
To resolve this problem, obtain the latest service pack for Windows Vista. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
935791 (http://support.microsoft.com/kb/935791/) How to obtain the latest Windows Vista service pack
Back to the top
GDR information
To resolve this problem, download a General Distribution Release (GDR) from the Microsoft Download Center.
The following files are available for download from the Microsoft
Download Center:
Download the x86 GDR package now. (http://download.microsoft.com/download/9/2/C/92C1B801-C58B-4622-B82B-5EA7AF5FAD8E/Windows6.0-KB943412-v2-x86.msu)
Download the x64 GDR package now. (http://download.microsoft.com/download/9/2/C/92C1B801-C58B-4622-B82B-5EA7AF5FAD8E/Windows6.0-KB943412-v3-x64.msu)Prerequisites
To install this GDR, the .NET Framework 2.0 must be installed on
the computer.
Restart requirement
You have to restart the computer after you apply this hotfix.
GDR replacement information
This GDR does not replace any other GDR.
The English version of this GDR 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 item in Control Panel.
The .NET Framework 2.0, x86-based version
| File name | File version | File
size | Date | Time |
|---|
| System.serviceprocess.dll | 2.0.50727.939 | 114,688 | 10-Oct-2007 | 03:05 |
The .NET Framework 2.0, x64-based version
| File name | File version | File
size | Date | Time |
|---|
| System.serviceprocess.dll | 2.0.50727.939 | 114,688 | 10-Oct-2007 | 02:36 |
Back to the top
Microsoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section. This problem was first corrected in Windows Vista Service Pack 1.
Back to the top
For more information about the
OnShutdown method, visit the following Microsoft Web site:
Back to the top