FIX: An application fault occurs in Tagen.dll when the CoCreateInstance function is invoked in Host Integration Server (823983)



The information in this article applies to:

  • Microsoft Host Integration Server 2000
  • Microsoft Host Integration Server 2000 SP1

SYMPTOMS

When you use the Microsoft COM Transaction Integrator (COMTI) with Microsoft COM+, an application fault may occur in Tagen.dll when the CoCreateInstance function is invoked. If you use Microsoft Transaction Server, the application fault will not occur.

The following stack trace is generated:
Stack:
00b0f1a4 78007108 e06d7363 00000001 00000003 KERNEL32!RaiseException+0x55
00b0f1e4 01595661 00b0f290 015a1a48 00000000 MSVCRT!_CxxThrowException+0x34 (CONV: stdcall)
00b0f2b8 77a5b300 00688bf8 00000000 000b1098 tagen!CTAClassFactory::CreateInstance+0x1d1 (FPO: 
[Non-Fpo]) (CONV: stdcall) [c:\depot1666\his2000_qfe\source\comti\runtime\tagen\factory.cpp @ 224]
00b0f328 77a5af7e 77b336e0 00000000 00000000 ole32!CoGetTreatAsClass+0x255e
00b0f344 787a73e4 000a2390 00000000 00b0f3f4 ole32!CoGetTreatAsClass+0x21dc
00b0f3bc 77a5af7e 0009eca8 00000000 0007b300 COMSVCS!CObjectActivator::CreateInstance+0x23c 
(FPO: [EBP 0x00b0f3d8] [4,22,4]) (CONV: stdcall) [.\obja.cpp @ 90]
00b0f3d8 77addf29 000a2390 00000000 00b0f3f4 ole32!CoGetTreatAsClass+0x21dc
00b0f3f8 77acc540 000b9f60 77a8ef90 00000000 ole32!CoInstall+0x210b
00b0f43c 77acc3ee 00075f68 00086e48 77addf0e ole32!CoQueryClientBlanket+0x26ee
00b0f568 77acc2b3 00086e48 77addf0e 000b9f60 ole32!CoQueryClientBlanket+0x259c
00b0f590 77aaa7f9 00086e48 77addf0e 000b9f60 ole32!CoQueryClientBlanket+0x2461
00b0f5fc 77ad0404 00076160 77addf0e 000b9f60 ole32!CoGetPSClsid+0x2e1
00b0f61c 77adde84 00076160 77addf0e 000b9f60 ole32!CoCreateObjectInContext+0x2252
00b0f648 77addfa2 77b335f0 000a2390 000a2948 ole32!CoInstall+0x2066
00b0f674 77a5b0f0 77b335f0 00000000 000a2390 ole32!CoInstall+0x2184
00b0f690 77a5a96a 77b335f0 00000001 00000000 ole32!CoGetTreatAsClass+0x234e
00b0f6b0 77a5a87b 77b33524 000a21e0 00000000 ole32!CoGetTreatAsClass+0x1bc8
00b0f6f4 77a5b0ac 77b33524 000a21e0 00000000 ole32!CoGetTreatAsClass+0x1ad9
00b0f71c 77a5af7e 77b33524 00000000 000a2390 ole32!CoGetTreatAsClass+0x230a
00b0f738 787aa948 000a2390 00000000 000a2948 ole32!CoGetTreatAsClass+0x21dc
The Tracebits.exe log file will show the following:
4624 00000360 Jul 03 13:32:39.046	10006	tagen/DllGetClassObject: returned existing 
factory for CLSID {984C3A2B-6D92-4C29-81A0-BD5CCA92410E}  
4624 00000360 Jul 03 13:32:39.046	10068	DLLGetClassObject Exit normal.  
4624 00000360 Jul 03 13:32:39.046	10011	CTAClassFactory::CreateInstance entered.  
4624 00000360 Jul 03 13:37:54.484	10013	CTAClassFactory::CreateInstance failed at point=1, 
hr=0x80004002.

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft Host Integration Server 2000. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

328152 How to obtain the latest service pack for Host Integration Server 2000

Hotfix information

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version    Size     File name
   ------------------------------------------------------------
   07-Jul-2003  21:22  5.0.0.924   37,136  Capture.dll
   07-Jul-2003  21:22  5.0.0.924  323,856  Cedrmsgs.dll
   07-Jul-2003  21:22  5.0.0.924   33,040  Comticontext.dll
   07-Jul-2003  21:22  5.0.0.924  147,728  Convert.dll
   07-Jul-2003  21:22  5.0.0.924   74,000  Convertprim.dll
   07-Jul-2003  21:22  5.0.0.924   33,040  Dpl1.dll
   07-Jul-2003  21:22  5.0.0.924  823,568  Dtcob390.dll
   07-Jul-2003  21:22  5.0.0.924   37,136  Playback.dll
   07-Jul-2003  21:22  5.0.0.924   78,096  Readlib.dll
   07-Jul-2003  21:22  5.0.0.924  123,152  Tadtlb.dll
   07-Jul-2003  21:22  5.0.0.924  114,960  Tagen.dll
   07-Jul-2003  21:22  5.0.0.924   82,192  Tranlu62.dll
   07-Jul-2003  21:22  5.0.0.924  110,864  Trantcp.dll
   07-Jul-2003  21:22  5.0.0.924   49,424  Turnaround.dll
   07-Jul-2003  21:23  5.0.0.870  950,272  Componentbuilder.exe
   29-Mar-2003  01:15             838,423  Comticb.chm
   29-Mar-2003  01:15             812,988  Resnapin.chm

				

Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was corrected in Microsoft Host Integration Server 2000 Service Pack 2.

Modification Type:MinorLast Reviewed:10/26/2005
Keywords:kbHotfixServer kbQFE kbHotfixServer kbQFE kbQFE kbHostIntegServ2000sp2fix kbfix kbbug KB823983 kbAudDeveloper