Microsoft KB Archive/283876

= PRB: Error 80110421 When You Register a Visual Basic Component in MTS =

Article ID: 283876

Article Last Modified on 8/23/2001

-

APPLIES TO


 * Microsoft Transaction Services 2.0

-



This article was previously published under Q283876



SYMPTOMS
When you try to export a package that contains a Microsoft Visual Basic ActiveX dynamic-link library (DLL), you may receive the following error message:

An Error occured accessing components in the system package on this computer. Error Code was 80110421.



CAUSE
When you add a method to an ActiveX DLL in Visual Basic for which the binary compatibility option has been set, Visual Basic creates a new interface ID (IID) and adds forwarding entries for the old interface. This error indicates that the forwarding chain is corrupt or that MTS can no longer follow the chain.



RESOLUTION
To resolve this problem, follow these steps:
 * 1) Under the Component tab of the Project Properties dialog box, click No Compatibility in the Version Compatibility list. This generates a new globally unique identifier (GUID) for the interface without the forwarding chain the next time that the DLL is compiled.
 * 2) Recompile the Visual Basic DLL.
 * 3) In the project settings, reset the Version Compatibility to binary compatibility.
 * 4) Register the component again with MTS.



STATUS
This behavior is by design.

