FIX: Access Violation Calling CoCreateInstance()

This article was previously published under Q265376
This article has been archived. It is offered "as is" and will no longer be updated.
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 bytesGetVtbl(ITypeInfo * 0x00000000, const _GUID & {IID_IdasAlertHistory_User}, TYPEINFOVTBL * * 0x00f2e230, ITypeInfo * * 0x00f2e234) line 330 + 33 bytesInterceptor::InitUsingTypeInfo(const _GUID & {IID_IdasAlertHistory_User}, ITypeInfo * 0x00000000) line 921 + 21 bytesInterceptor::CreateFromTypeInfo(const _GUID & {IID_IdasAlertHistory_User}, IUnknown * 0x00000000, ITypeInfo * 0x00000000, const _GUID & {IID_IUnknown}, void * * 0x00108fb0) line 884 + 16 bytesInterceptor::ForTypeInfo(const _GUID & {IID_IdasAlertHistory_User}, IUnknown * 0x00000000, ITypeInfo * 0x00000000, const _GUID & {IID_IUnknown}, void * * 0x00108fb0) line 683 + 25 bytesInterceptor::InitUsingTypeInfo(const _GUID & {IID_IdasAlertHistory_Operator}, ITypeInfo * 0x000f1064) line 965 + 27 bytesInterceptor::CreateFromTypeInfo(const _GUID & {IID_IdasAlertHistory_Operator}, IUnknown * 0x000b55a8, ITypeInfo * 0x000f1064, const _GUID & {IID_IUnknown}, void * * 0x00f2e3a8) line 884 + 16 bytesInterceptor::TryTypeLib(const _GUID & {IID_IdasAlertHistory_Operator}, IUnknown * 0x000b55a8, const _GUID & {IID_IUnknown}, void * * 0x00f2e3a8) line 867 + 25 bytesInterceptor::ForOle32(const _GUID & {IID_IdasAlertHistory_Operator}, IUnknown * 0x000b55a8, const _GUID & {IID_IUnknown}, void * * 0x00f2e3a8) line 622 + 21 bytesCoGetInterceptorForOle32(const _GUID & {IID_IdasAlertHistory_Operator}, IUnknown * 0x000b55a8, const _GUID & {IID_IUnknown}, void * * 0x00f2e3a8) line 127CStdWrapper::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 &<BR/>				
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 theMicrosoft 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.
Properties

Article ID: 265376 - Last Review: 10/26/2013 05:39:00 - Revision: 4.0

Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition

  • kbnosurvey kbarchive kbhotfixserver kbqfe kbbug kbfix KB265376
Feedback