INFO: This Interface Has Been Forwarded Error in Visual Basic with MTSID: Q222634
|
After adding a new method to a component in Visual Basic and selecting Refresh, the user receives the following error:
This interface has been forwarded.
When you create a new method a new interface ID is created. Visual Basic keeps the old and new interface IDs and forwards information to the old ID. This creates a chain of GUIDs. By design, Microsoft Transaction Server (MTS) does not like these chains of forwarding; therefore, it gives you the error message. The proper way to handle this is to delete the component through the interface and add it back, eliminating the chain and error message.
The steps below can be used to reproduce the problem:
Public Function Func1()<BR/>
End Function<BR/>
Public Function Func1()
End Function
Public Function Func2()
End Function
Some object properties could not be read due to the following errors: This interface has been forwarded
Additional query words:
Keywords : kbMTS200 kbWinDNA kbGrpSIE kbDSupport
Version : winnt:2.0,4.0
Platform : winnt
Issue type : kbinfo
Last Reviewed: June 14, 1999