PRB: Error 80110421 When You Register a Visual Basic Component in MTS (283876)



The information in this article applies to:

  • Microsoft Transaction Server 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.

REFERENCES

For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

281630 HOWTO: Configure Visual Basic DLL Project Properties to Run in IIS, MTS, or COM+

241637 PRB: Adding a New Method to a VB Component in MTS Breaks Existing Client


Modification Type:MajorLast Reviewed:8/23/2001
Keywords:kbDSupport kberrmsg kbprb KB283876