Microsoft KB Archive/307597

= &quot;80004002, E_NOINTERFACE&quot; Error Message When Windows 2000 COM Client Application Requests Creation of COM Object =

Article ID: 307597

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q307597



SYMPTOMS
When a COM client application on a Windows 2000-based computer requests the creation of a Component Object Model (COM) object through a local COM server, the following error message is returned to the client:

80004002, E_NOINTERFACE

Note This does not occur if the COM client resides on a Microsoft Windows NT 4.0-based computer.



CAUSE
This behavior occurs because of a difference in functionality between Windows NT 4.0 and Windows 2000.



MORE INFORMATION
On a Windows NT 4.0-based system, if a COM client tries to create a COM object through a local COM server by using a call to the CoCreateInstance, function, and the resulting IClassFactory::CreateInstance method returns &quot;CO_E_SERVER_STOPPING,&quot; the COM Service Control Manager (SCM) determines that the server is shutting down and therefore creates a new instance of the local COM server to service the request.

On a Windows 2000-based system, if IClassFactory::CreateInstance returns &quot;CO_E_SERVER_STOPPING,&quot; this generates an error, and the &quot;80004002, E_NOINTERFACE&quot; error message is returned to the client. The Windows NT 4.0 functionality helps prevent a race condition that may otherwise occur.



RESOLUTION
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kberrmsg kbfix kbbug kbprb KB307597

-

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

© Microsoft Corporation. All rights reserved.