PRB: Cannot Forward an Activation Through an Application Proxy in COM+ (305767)



The information in this article applies to:

  • Microsoft COM+ 1.0
  • Microsoft COM+ 1.5

This article was previously published under Q305767

SYMPTOMS

You cannot forward an activation through an application proxy.

CAUSE

This problem occurs because OLE32 is not designed to handle activation requests in this way. OLE does not support activation forwarding.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Build an ActiveX dynamic-link library (DLL), and add it to COM+ on ComputerA.
  2. Export the COM+ application as an application proxy.
  3. Install the application proxy on ComputerB.
  4. On ComputerC, create an Active Server Pages (ASP) page that contains the following code:
    Set a = CreateObject("MyComponent.Component", "ComputerB")
    					
This code tries to forward the activation request from ComputerC to ComputerB to ComputerA, which results in an error. The same problem occurs if you specify ComputerB in the COSERVERINFO structure for the CoCreateInstance method.

Modification Type:MajorLast Reviewed:2/20/2002
Keywords:kbprb KB305767