DCOM over internet config problem
-
Dear COM gurus, Here is my situation ... I have a VC++ server and a VB client that must communicate over the internet. My client and server can talk successfully on the same computer. I've tested it on my local computer and on the remote system that will eventually host the server. They also talk successfully on my local network with the client and server apps on different machines. However, when I try to communicate with the server on a remote system, I get the following error (from the VB client): Run-time error '462': The remote server machine does not exist or is unavailable. I believe the error must be somewhere in the DCOM configuration or a firewall problem. Is there a recipe/checklist for configuring DCOM over the internet ? What firewall ports need to be open ? In dcomcnfg, I've tried setting the Connection-oriented TCP/IP endpoints to use port 80 on both client and server machines, but that didn't work. I chose port 80 because I know that traffic can flow through the firewall on that port. Other dcomcnfg settings are as follows: Client: auth level = default location: run on this computer, run where data is located security access: allow everyone, interactive, (my user id), network, system security launch: allow everyone, interactive, (my user id), network, system, users security config: administrators = full, creator owner = full, everyone = special, power users = special, system = full, users = read identity: interactive user endpoints: use static endpoint = 80 w/ connection-oriented TCP/IP Server: auth level = default location: run on this computer security access: allow everyone, interactive, (my user id), network, system, administrators security launch: allow everyone, interactive, (my user id), network, system, administrators security config: administrators = full, creator owner = full, everyone = read, interactive = special, system = full identity: (my user id) endpoints: use static endpoint = 80 w/ connection-oriented TCP/IP I hope someone out there can tell me what I'm doing wrong. Thanks, Keith Gemeinhart
-
Dear COM gurus, Here is my situation ... I have a VC++ server and a VB client that must communicate over the internet. My client and server can talk successfully on the same computer. I've tested it on my local computer and on the remote system that will eventually host the server. They also talk successfully on my local network with the client and server apps on different machines. However, when I try to communicate with the server on a remote system, I get the following error (from the VB client): Run-time error '462': The remote server machine does not exist or is unavailable. I believe the error must be somewhere in the DCOM configuration or a firewall problem. Is there a recipe/checklist for configuring DCOM over the internet ? What firewall ports need to be open ? In dcomcnfg, I've tried setting the Connection-oriented TCP/IP endpoints to use port 80 on both client and server machines, but that didn't work. I chose port 80 because I know that traffic can flow through the firewall on that port. Other dcomcnfg settings are as follows: Client: auth level = default location: run on this computer, run where data is located security access: allow everyone, interactive, (my user id), network, system security launch: allow everyone, interactive, (my user id), network, system, users security config: administrators = full, creator owner = full, everyone = special, power users = special, system = full, users = read identity: interactive user endpoints: use static endpoint = 80 w/ connection-oriented TCP/IP Server: auth level = default location: run on this computer security access: allow everyone, interactive, (my user id), network, system, administrators security launch: allow everyone, interactive, (my user id), network, system, administrators security config: administrators = full, creator owner = full, everyone = read, interactive = special, system = full identity: (my user id) endpoints: use static endpoint = 80 w/ connection-oriented TCP/IP I hope someone out there can tell me what I'm doing wrong. Thanks, Keith Gemeinhart
yes i had the same problem and fixed today ;) first of all if ur using MTS and callback u should install the Com Internet Services (CIS) on the client machine and configure it by ciscnfg.exe or somthing like that in \windows\system and i have also downloaded and installed DCOM 1.3 from microsoft's web site on my win 9x client and then by running dcomcnfg.exe, i have enabled Remote access and then i have succeded the connection on the internet also for the source try : "COM Internet Services" keyword on MSDN the article is in Backgrounders Subset