FIX: Access Violation Calling CoCreateInstance()

Article translations Article translations
Article ID: 265376 - View products that this article applies to.
This article was previously published under Q265376
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

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 &<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 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.

Properties

Article ID: 265376 - Last Review: October 26, 2013 - Revision: 4.0
Applies to
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
Keywords: 
kbnosurvey kbarchive kbhotfixserver kbqfe kbbug kbfix KB265376

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com