Microsoft KB Archive/265376

= FIX: Access Violation Calling CoCreateInstance =

Article ID: 265376

Article Last Modified on 2/23/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q265376



SYMPTOMS
When you call CoCreateInstance to activate a configured component in the same COM+ application, an access violation exception may occur with the following stack: CheckTypeInfo(ITypeInfo * 0x00000000, ITypeInfo * * 0x00f2e1c0, ITypeInfo * * 0x00f2e1d0, unsigned short * 0x00f2e1b8, int * 0x00f2e1c4, _GUID * 0x00f2e1a8 {IID_IUnknown}, ITypeInfo * * 0x00f2e234) line 160 + 7 bytes GetVtbl(ITypeInfo * 0x00000000, const _GUID & {IID_IdasAlertHistory_User}, TYPEINFOVTBL * * 0x00f2e230, ITypeInfo * * 0x00f2e234) line 330 + 33 bytes Interceptor::InitUsingTypeInfo(const _GUID & {IID_IdasAlertHistory_User}, ITypeInfo * 0x00000000) line 921 + 21 bytes Interceptor::CreateFromTypeInfo(const _GUID & {IID_IdasAlertHistory_User}, IUnknown * 0x00000000, ITypeInfo * 0x00000000, const _GUID & {IID_IUnknown}, void * * 0x00108fb0) line 884 + 16 bytes Interceptor::ForTypeInfo(const _GUID & {IID_IdasAlertHistory_User}, IUnknown * 0x00000000, ITypeInfo * 0x00000000, const _GUID & {IID_IUnknown}, void * * 0x00108fb0) line 683 + 25 bytes Interceptor::InitUsingTypeInfo(const _GUID & {IID_IdasAlertHistory_Operator}, ITypeInfo * 0x000f1064) line 965 + 27 bytes Interceptor::CreateFromTypeInfo(const _GUID & {IID_IdasAlertHistory_Operator}, IUnknown * 0x000b55a8, ITypeInfo * 0x000f1064, const _GUID & {IID_IUnknown}, void * * 0x00f2e3a8) line 884 + 16 bytes Interceptor::TryTypeLib(const _GUID & {IID_IdasAlertHistory_Operator}, IUnknown * 0x000b55a8, const _GUID & {IID_IUnknown}, void * * 0x00f2e3a8) line 867 + 25 bytes Interceptor::ForOle32(const _GUID & {IID_IdasAlertHistory_Operator}, IUnknown * 0x000b55a8, const _GUID & {IID_IUnknown}, void * * 0x00f2e3a8) line 622 + 21 bytes CoGetInterceptorForOle32(const _GUID & {IID_IdasAlertHistory_Operator}, IUnknown * 0x000b55a8, const _GUID & {IID_IUnknown}, void * * 0x00f2e3a8) line 127 CStdWrapper::CreateLightPS(CStdWrapper * const, const _GUID & {IID_IdasAlertHistory_Operator}, void * 0x00c2d230, long & 0) line 1263

...

CoCreateInstance(const _GUID & {CLSID_DasAlertHistory Class}, IUnknown * 0x00000000, unsigned long 23, const _GUID &



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 Microsoft Windows 2000. This problem was first corrected in Windows 2000 Service Pack 2.

Keywords: kbhotfixserver kbqfe kbbug kbfix KB265376

-

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

© Microsoft Corporation. All rights reserved.