Article ID: 823951 - View products that this article applies to.
When you make a remote call on a Microsoft Component Object Model (COM) callable wrapper (CCW) to a ServicedComponent derived class object and the ServicedComponent derived class object is collected by the garbage collector, you may receive an error message that is similar to the following:
Access violation - code c0000005 (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. eax=0085f27c ebx=fffffffc ecx=fffffffc edx=00000001 esi=000a78c8 edi=00000000 eip=791f3fef esp=0085f23c ebp=0085f28c iopl=0 nv up ei pl nz na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00010202 mscorwks!ObjHeader::PassiveGetSyncBlock: 791f3fef 8b01 mov eax,[ecx] ds:0023:fffffffc=????????
This problem occurs if the garbage collector collects the handle to the ServicedComponent derived class object while the CCW still references the object.
To resolve this problem, obtain the latest service pack for Microsoft .NET Framework 1.1. For more information, visit the following Microsoft Developer Network (MSDN) Web site:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Microsoft .NET Framework 1.1 Service Pack 1.
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/824684/ )Description of the standard terminology that is used to describe Microsoft software updates
Contact us for more help
Connect with Answer Desk for expert help.