bfjvr
asked on
Local Registration of Remote COM Server
System:
An Active Form Application embbeded in a simple html page. The Application interacts with an Automation server residing on a remote machine. The Active Form will Auto Connect to the Automation server on a predefined machine.
The html page resides on a web server.
Problem:
When a client pc loads the page the embedded ActiveX application tries to connect to the Remote Automation Server,but fails.
Question: Does the client PC have to have entries in its registry describing the remote automation server?
An Active Form Application embbeded in a simple html page. The Application interacts with an Automation server residing on a remote machine. The Active Form will Auto Connect to the Automation server on a predefined machine.
The html page resides on a web server.
Problem:
When a client pc loads the page the embedded ActiveX application tries to connect to the Remote Automation Server,but fails.
Question: Does the client PC have to have entries in its registry describing the remote automation server?
Listening
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The component in the client was imported from the automation object's type library and installed as a component in Delphi5.
This component has machine name and connect kind properties - therefor I take it that it knows how to connect to the remote server on its own.
However, it still gives trouble on client machines
This component has machine name and connect kind properties - therefor I take it that it knows how to connect to the remote server on its own.
However, it still gives trouble on client machines
ASKER
I have reworked things somewhat and now have the following situation:
The Client PC has no registry entries describing the server. (WHAT I WANT)
When a client pc loads the html page, I can see that the embedded ActiveX control (ActiveForm)makes a connection to the server - I know this because if I try to close the server, it tells me that the server is in use and cannot be shut down.If the server is not in use, one can normally just exit it without any warnings.
However, when I try and execute one of the server methods from the client, the client reports the following error -Interface not Supported.
If I run the Server.exe once on the client PC it adds entries to the client pc registry which describe the server (WHICH I DONT WANT). After this, the whole thing work correctly.
Any comments would be appreciated.
The Client PC has no registry entries describing the server. (WHAT I WANT)
When a client pc loads the html page, I can see that the embedded ActiveX control (ActiveForm)makes a connection to the server - I know this because if I try to close the server, it tells me that the server is in use and cannot be shut down.If the server is not in use, one can normally just exit it without any warnings.
However, when I try and execute one of the server methods from the client, the client reports the following error -Interface not Supported.
If I run the Server.exe once on the client PC it adds entries to the client pc registry which describe the server (WHICH I DONT WANT). After this, the whole thing work correctly.
Any comments would be appreciated.