Microsoft KB Archive/245534

= How To Locate a COMTI TypeLib After It's Been Registered In MTS =

Article ID: 245534

Article Last Modified on 11/26/2003

-

APPLIES TO


 * Microsoft SNA Server 4.0
 * Microsoft SNA Server 4.0 Service Pack 1
 * Microsoft SNA Server 4.0 Service Pack 2
 * Microsoft SNA Server 4.0 Service Pack 3
 * Microsoft COM Transaction Integrator for CICS and IMS 1.0
 * Microsoft COM Transaction Integrator for CICS and IMS 1.0 SP1
 * Microsoft COM Transaction Integrator for CICS and IMS 4.0 SP2
 * Microsoft COM Transaction Integrator for CICS and IMS 4.0 SP3

-



This article was previously published under Q245534



SUMMARY
When a systems administrator or developer deploys a COM Transaction Integrator for CICS and IMS (COMTI) component Type Library by installing it in a Microsoft Transaction Server (MTS) package, the component's Class Identifier (CLSID) is automatically entered in the MTS registry during the registration process making it accessible to COM-compliant applications. Additionally, the location of the Type Library is also saved in the registry so that MTS will know where to retrieve the file when it needs it. If an administrator has forgotten the name or location of the COMTI Type Library that is associated with a given MTS component, it is not intuitive to determine the location considering that the MTS Explorer does not publish this information.

This article will show how to navigate various Registry keys in order to determine the location of a COMTI Type Library associated with a given MTS component.



MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

The following steps can be used to find the COMTI Type Library associated with a given MTS component:  Right-click the COMTI component within the MTS Explorer and select Properties. Select the CLSID field. Right-click the selected field and select COPY to copy the CLSID value to the Windows NT clipboard.  Start REGEDIT and navigate to the following registry key: HKEY_CLASSES_ROOT\CLSID\  Right-click the CLSID registry key and select FIND. Paste the CLSID value into the Find What text box. Click Find Next button to start the search.  Once the search has completed, you will be positioned on the CLSID key previously specified. For example, if the CLSID value obtained in step two is {C69A96B2-93A6-11D3-96A8-00C04F91A7C3}, then REGEDIT will have you positioned on the following key after the search has completed: HKEY_CLASSES_ROOT\CLSID\{C69A96B2-93A6-11D3-96A8-00C04F91A7C3}  Next, expand the key. There will be a number of subkeys subordinate to this. Select a registry key called TypeLib.</li> The TypeLib registry key will contain a value (in the right-hand portion of the screen)called Default. Double-click Default to bring up the associated GUID value. Select the data value and right-click to COPY it to the Windows NT clipboard.</li>  Next, navigate to the following Registry key using REGEDIT: <pre class="fixed_text">HKEY_CLASSES_ROOT\TypeLib\ </li> Right-click the TypeLib registry key and select FIND. Paste the GUID value obtained from step seven into the Find What edit box. Click Find Next to continue the search.</li>  Once the search has completed, the REGEDIT tool will have you positioned on the TypeLib key previously specified. See the following for an example: <pre class="fixed_text">HKEY_CLASSES_ROOT\TypeLib\{C69A96B0-93A6-11D3-96A8-00C04F91A7C3} </li> Next, expand the entire key structure and locate the win32 subkey. The value associated with the win32 subkey contains the location of the COMTI Type Library. For example, the value might indicate C:\TEST\CEDARBANK.TLB</li></ol>

Keywords: kbinfo KB245534

-

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

© Microsoft Corporation. All rights reserved.