Simon Caiger
Nov 6th, 2003, 07:32 AM
I am quite new to COM and even newer to DCOM (this is my first attempt at using DCOM with my own apps).
So, my apologies if this is a daft question, but here goes anyway.
I have written an AxtiveX.exe which is basically a data server.
I have this installed on what I call my server PC.
If I run a client application on the same server PC, it connects to the server app OK.
If I run the client app on another networked PC, the only way I can get the client app to connect is if I have a second instance of the client app already running on the server PC or if I have the ActiveX application running from the VB IDE.
I have had a look at the Task Manager and notice that whenever I manage to get the client app to connect, the ActiveX.exe is actually running as an application.
If I try to attach the remote client without an instance of it running on the server, I notice that I only get the ActiveX running as a process.
I am pretty sure that the dcomcnfg settings are OK. The only setting I am not sure about is the "Identity" tab setting. I have got "The Launching User" selected as the account to use to run the application.
Operating system is Win2k on both machines.
Am I pissing in the wind to expect to get the client to run the application?
Any one out there who can help?
So, my apologies if this is a daft question, but here goes anyway.
I have written an AxtiveX.exe which is basically a data server.
I have this installed on what I call my server PC.
If I run a client application on the same server PC, it connects to the server app OK.
If I run the client app on another networked PC, the only way I can get the client app to connect is if I have a second instance of the client app already running on the server PC or if I have the ActiveX application running from the VB IDE.
I have had a look at the Task Manager and notice that whenever I manage to get the client app to connect, the ActiveX.exe is actually running as an application.
If I try to attach the remote client without an instance of it running on the server, I notice that I only get the ActiveX running as a process.
I am pretty sure that the dcomcnfg settings are OK. The only setting I am not sure about is the "Identity" tab setting. I have got "The Launching User" selected as the account to use to run the application.
Operating system is Win2k on both machines.
Am I pissing in the wind to expect to get the client to run the application?
Any one out there who can help?