Re: Need help in DCOM
kheyrollahi <[email protected]> Thu, 8 Aug 2002 08:15:46 -0400
| Newsgroups | gmane.comp.windows.devel.vbcom |
|---|---|
| Message-ID | <VBCOM%[email protected]> |
Hi Manikandan, I though so. As you will see firewalls are one of the problems in DCOM that made some people develop SOAP. This is an article in MSDN: HOWTO: Troubleshoot DCOM for Visual Basic Client/Server Applications Quoted from it: ============================ If your client and server computers are connected through the Internet with firewalls and proxies between them, DCOM does not work if there is any type of Address Translation (NAT) in between them. If there is no address translation, you need to configure these proxies and firewalls to enable DCOM to communicate. You can find several white papers related to this subject on the Microsoft Developers Network (MSDN) or at the following Microsoft Web site: http://www.microsoft.com/com/tech/dcom.asp This subject is not covered in this article. ============================= I think you can switch to SOAP if you really think it is necessary. Cheers Ali -----Original Message----- From: "P. S. Manikandan" <[email protected]> To: [email protected] Date: Thu, 8 Aug 2002 17:07:25 GMT Subject: Re: [VBCOM] Need help in DCOM > Hi.. > Thx for replying me...as u said...i tried installing > server > in one macine which is one network and client in one machine which is > in > another network...can u just explain how to set the default gateway for > client and server. > One more thing i need to tell u....one of the network is behind the > firewall ..i think it may be the problem....am i right > or some other issues or there...can u pls explain me in details > regarding > this issue. > > Regards > > P.S. Manikandan > Learnet India Ltd., > 309/2, Lakshya Towers, > 1st Cross, 5th Block, > Koramangala, > Bangalore - 560034. > Phone No : 5526760 Extn - 208 > > > > > Hi Manikandan, > > First thing is that I do not get this: > > i installed server in one machine which is in another > machine and client in one machine which is in another machine > > Do you mean different subnets or networks? If so you must set the > default > gateway for client and server. And by the way did you set DCOM setting > on > the client specially "Run component on this computer: myServer"? > > Second thing is that I believe you must have given server name > (computer > name or NetBIOS name) when you used clireg32.exe, I am not sure if it > works > with IP address. I think you had better try that as well. > > Ali > > > ----- Original Message ----- > From: "P. S. Manikandan" <[email protected]> > To: <[email protected]> > Sent: Wednesday, August 07, 2002 1:07 PM > Subject: [VBCOM] Need help in DCOM > > > Hi... > > I am facing one problem in DCOM. Actually i have created > one > > activex exe with some methods. I have created package using package > and > > deployment wizard. Then using that activex exe i wrote one client > program > > which will call the methods in the server. Then i created the package > by > > adding the .vbr and .tlb file in the wizard. I installed the server > > in one machine and client in another machine in same network. During > > installation of client it will ask the IP address of the component > where > it > > resides. I gave the IP address of server, then if we run it works > fine. > > But the problem is i installed server in one machine which is in > another > > machine and client in one machine which is in another machine. If i > try > to > > access the methods then it is raising the error "activex component > cannot > > create object". I checked all the dcom settings, its all fine but > even > > though its not working.. Can anyone give me an idea what is causing > the > > problem.. waiting for ur reply asap.. > > > > Thanks in advance.. > > > > Regards > > Manikandan > > > > You can read messages from the VBCOM archive, unsubscribe from VBCOM, > or > > subscribe to other DevelopMentor lists at http://discuss.develop.com. > > > You can read messages from the VBCOM archive, unsubscribe from VBCOM, > or > subscribe to other DevelopMentor lists at http://discuss.develop.com. > > You can read messages from the VBCOM archive, unsubscribe from VBCOM, > or > subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the VBCOM archive, unsubscribe from VBCOM, or subscribe to other DevelopMentor lists at http://discuss.develop.com.