Microsoft Knowledge Base Email Alertz

KBAlertz.com: You may experience delays when an operating system shuts down if the computer is running a managed service together with the .NET Framework 2.0

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 943412 - Last Review: May 20, 2008 - Revision: 3.0

FIX: You may experience delays when an operating system shuts down if the computer is running a managed service together with the .NET Framework 2.0

On This Page

SYMPTOMS

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.

CAUSE

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.

RESOLUTION

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://kbalertz.com/Feedback.aspx?kbNumber=935791/ ) How to obtain the latest Windows Vista service pack

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:


Collapse this imageExpand this image
Download
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)

Collapse this imageExpand this image
Download
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
Collapse this tableExpand this table
File nameFile versionFile sizeDateTime
System.serviceprocess.dll2.0.50727.939114,68810-Oct-200703:05
The .NET Framework 2.0, x64-based version
Collapse this tableExpand this table
File nameFile versionFile sizeDateTime
System.serviceprocess.dll2.0.50727.939114,68810-Oct-200702:36

STATUS

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.

MORE INFORMATION

For more information about the OnShutdown method, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/system.serviceprocess.servicebase.onshutdown(vs.80).aspx (http://msdn2.microsoft.com/en-us/library/system.serviceprocess.servicebase.onshutdown(vs.80).aspx)

APPLIES TO
  • Microsoft .NET Framework 2.0
  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Starter
  • Windows Vista Ultimate
Keywords: 
kbvistasp1fix kbexpertiseinter KB943412
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please