Microsoft KB Archive/886384

= FIX: Your CPU usage may increase to 100 percent when the impersonation level of a COM+ application is set to anonymous =

Article ID: 886384

Article Last Modified on 11/23/2004

-

APPLIES TO


 * Microsoft COM+ 2.0 Standard Edition

-





SYMPTOMS
When you work with distributed COM+ applications, you may notice that your CPU usage increases up to 100 percent on your server computer. The application on the client computer may receive an error message when the client computer tries to create an instance of a COM+ class and the impersonation level of your client application is set to anonymous. This problem may occur when a COM+ server also becomes its own client. The application may receive the following error message:

ERROR

=
Error Result : 0x80080008 ( -2146959352 )

ID Defined as : CO_E_SERVER_STOPPING

Error Type : OLE HRESULT

Error Facility : FACILITY_WINDOWS 0x00000008 ( 8 )

Severity : SEVERITY_ERROR 0x00000001 ( 1 )

Code : 0x00000008 ( 8 )

Source Error file : Winerror.h

Message Text : Object server is stopping when OLE service contacts it



RESOLUTION
To fix this problem, set the impersonation level of the server application to the Identify level. This problem may appear only when the COM+ server becomes the client. To change the impersonation level of a COM+ application that will act as the client, follow these steps:
 * 1) Right-click the COM+ application that you are setting the impersonation level for, and then click Properties.
 * 2) In the Application Properties dialog box, click the Security tab.
 * 3) In the Impersonation level box, click Identify.
 * 4) Click OK.



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

Keywords: kbtshoot kbbug kbfix kbwinxpsp2fix KB886384

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.