Re: Need help in DCOM
"Yves Hanoulle @ ObjectSoft" <[email protected]> Thu, 8 Aug 2002 19:30:28 +0200
| Newsgroups | gmane.comp.windows.devel.vbcom |
|---|---|
| Organization | ObjectSoft bvba |
| Message-ID | <002d01c23f01$4a232690$0300a8c0@os2001> |
Hello, It is not possible to use Dcom over a firewall, execpt if the administrators open up the dcom port, which is a bad thing to do.... For this you need to create a kind of webservice with or soap or .net... Greetings, Yves Hanoulle, IT-Guide -----Original Message----- From: Technical discussion of VBCOM [mailto:[email protected]] On Behalf Of P. S. Manikandan Sent: Thursday, August 08, 2002 7:07 PM To: [email protected] 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.