COM+ proxy application problem
-
Hi: I have a com+ component installed using a application proxy on a remote computer. By the way, I have no problems when running the local client. I'm using a VB.NET Client. The problem occurs when I try to execute a method on the remote object: -------------------------------------------------------------- An unhandled exception of type 'System.InvalidCastException' occurred in Client.exe Additional information: QueryInterface for interface MyComponentLib.IMyInterface failed. -------------------------------------------------------------- Interestingly, The instantiation of the remote object by CreateObject succeeds and the application is activated on the server machine, i.e., I can see the rolling icon animation. Activating proxy in OLEVIEW also succeeds. The security is set to Interactive at this point. If I use a VB6 client I get 'Run-Time Error 424 Object Required' when I call CreateObject!! This is a very simple COM+ app but I'm really stuck! I'll appreciate any help... Thanks
-
Hi: I have a com+ component installed using a application proxy on a remote computer. By the way, I have no problems when running the local client. I'm using a VB.NET Client. The problem occurs when I try to execute a method on the remote object: -------------------------------------------------------------- An unhandled exception of type 'System.InvalidCastException' occurred in Client.exe Additional information: QueryInterface for interface MyComponentLib.IMyInterface failed. -------------------------------------------------------------- Interestingly, The instantiation of the remote object by CreateObject succeeds and the application is activated on the server machine, i.e., I can see the rolling icon animation. Activating proxy in OLEVIEW also succeeds. The security is set to Interactive at this point. If I use a VB6 client I get 'Run-Time Error 424 Object Required' when I call CreateObject!! This is a very simple COM+ app but I'm really stuck! I'll appreciate any help... Thanks
Greets, Is the interface for the COM+ application which is installed on the server also available to your application on the client machine? Did you export the application from the server and install it on the client machine from which your application is running? When I refer to application, you can install your component in COM+ on the server machine, then use COM+ services to export an MSI package that will install the necessary information on the client needed to make the call remotely. Regards, Joe
-
Greets, Is the interface for the COM+ application which is installed on the server also available to your application on the client machine? Did you export the application from the server and install it on the client machine from which your application is running? When I refer to application, you can install your component in COM+ on the server machine, then use COM+ services to export an MSI package that will install the necessary information on the client needed to make the call remotely. Regards, Joe
The proxy appliction was exported from the server appliations as MSI package which was then installed on the client machine. The local client works fine. What I have seen in the debugger is that the remote client can instantiate the component. The query to object's IUnknown interface succeeds, i.e., returns S_OK. However after that what happens I don't know - I can't see it in the debugger.
-
The proxy appliction was exported from the server appliations as MSI package which was then installed on the client machine. The local client works fine. What I have seen in the debugger is that the remote client can instantiate the component. The query to object's IUnknown interface succeeds, i.e., returns S_OK. However after that what happens I don't know - I can't see it in the debugger.