From: phil hunt on 13 Aug 2010 08:41 I have not done this for a while. But you may have to set the end point of the DCOM from the client to invoke the com remotely. Seems like you are even getting there. "Harsha" <sriharsha.galve(a)gmail.com> wrote in message news:aef77068-1183-4c33-a3b5-7cf60922b26f(a)x21g2000yqa.googlegroups.com... On Aug 13, 12:55 pm, "Schmidt" <s...(a)online.de> wrote: > "Harsha" <sriharsha.ga...(a)gmail.com> schrieb im > Newsbeitragnews:50bbe51d-3da2-4327-962d-bd54ad98d9ed(a)x21g2000yqa.googlegroups.com... > > [Collection Type as Parameter in DCOM-RPCs] > > > I have put debugging message as first line inside > > remote method. > > apparently even that is not logging. > > So I am clue less what is wrong. > > What happens, when you change: > Public Sub MyRemoteMethod(MyCol As Collection) > > to: > Public Sub MyRemoteMethod(MyCol As Variant) > > And then try to call that remotely (passing your > clientside Collection to the "untyped" Variant- > Parameter as before)? > > Olaf No Luck! It is still the same issue. It is not able to call the method. My first line of debussing message is not getting logged. I doubt it is something to do with security settings inside server. Any ideas? Thanks for replies so far.
From: Harsha on 13 Aug 2010 09:04 On Aug 13, 1:41 pm, "phil hunt" <a...(a)abc.com> wrote: > I have not done this for a while. But you may have to set the end point of > the DCOM from the client to invoke the com remotely. Seems like you are even > getting there. > > "Harsha" <sriharsha.ga...(a)gmail.com> wrote in message > > news:aef77068-1183-4c33-a3b5-7cf60922b26f(a)x21g2000yqa.googlegroups.com... > On Aug 13, 12:55 pm, "Schmidt" <s...(a)online.de> wrote: > > > > > > > "Harsha" <sriharsha.ga...(a)gmail.com> schrieb im > > Newsbeitragnews:50bbe51d-3da2-4327-962d-bd54ad98d9ed(a)x21g2000yqa.googlegroups.com... > > > [Collection Type as Parameter in DCOM-RPCs] > > > > I have put debugging message as first line inside > > > remote method. > > > apparently even that is not logging. > > > So I am clue less what is wrong. > > > What happens, when you change: > > Public Sub MyRemoteMethod(MyCol As Collection) > > > to: > > Public Sub MyRemoteMethod(MyCol As Variant) > > > And then try to call that remotely (passing your > > clientside Collection to the "untyped" Variant- > > Parameter as before)? > > > Olaf > > No Luck! > > It is still the same issue. It is not able to call the method. My > first line of debussing message is not getting logged. > > I doubt it is something to do with security settings inside server. > Any ideas? > > Thanks for replies so far.- Hide quoted text - > > - Show quoted text - Hi Phil, thanks for your reply. I did not understand your point right. Could you please explain what I have to try in step-by-step approach? Thanks Harsha
From: phil hunt on 13 Aug 2010 09:36 Like I said, it's been a while. IIRC, you have to install the DCOM on your client using some DCOM utility. That utility let you specify where the server(endpoint) is. Select the rest of the choice to default. "Harsha" <sriharsha.galve(a)gmail.com> wrote in message news:a6f46403-50e1-486f-a5d8-a9b2a9b71a72(a)l6g2000yqb.googlegroups.com... On Aug 13, 1:41 pm, "phil hunt" <a...(a)abc.com> wrote: > I have not done this for a while. But you may have to set the end point of > the DCOM from the client to invoke the com remotely. Seems like you are > even > getting there. > > "Harsha" <sriharsha.ga...(a)gmail.com> wrote in message > > news:aef77068-1183-4c33-a3b5-7cf60922b26f(a)x21g2000yqa.googlegroups.com... > On Aug 13, 12:55 pm, "Schmidt" <s...(a)online.de> wrote: > > > > > > > "Harsha" <sriharsha.ga...(a)gmail.com> schrieb im > > Newsbeitragnews:50bbe51d-3da2-4327-962d-bd54ad98d9ed(a)x21g2000yqa.googlegroups.com... > > > [Collection Type as Parameter in DCOM-RPCs] > > > > I have put debugging message as first line inside > > > remote method. > > > apparently even that is not logging. > > > So I am clue less what is wrong. > > > What happens, when you change: > > Public Sub MyRemoteMethod(MyCol As Collection) > > > to: > > Public Sub MyRemoteMethod(MyCol As Variant) > > > And then try to call that remotely (passing your > > clientside Collection to the "untyped" Variant- > > Parameter as before)? > > > Olaf > > No Luck! > > It is still the same issue. It is not able to call the method. My > first line of debussing message is not getting logged. > > I doubt it is something to do with security settings inside server. > Any ideas? > > Thanks for replies so far.- Hide quoted text - > > - Show quoted text - Hi Phil, thanks for your reply. I did not understand your point right. Could you please explain what I have to try in step-by-step approach? Thanks Harsha
From: Nobody on 13 Aug 2010 10:15 "phil hunt" <a(a)abc.com> wrote in message news:i43hpa$rr1$1(a)speranza.aioe.org... > Like I said, it's been a while. > IIRC, you have to install the DCOM on your client using some DCOM utility. > That utility let you specify where the server(endpoint) is. Select the > rest of the choice to default. I think you mean DCOMcnfg, but I think that the client can specify which server to use in the second parameter of CreateObject(). It has been a while for me too.
From: Paul Clement on 13 Aug 2010 11:15 On Fri, 13 Aug 2010 03:42:21 -0700 (PDT), Harsha <sriharsha.galve(a)gmail.com> wrote: � Hello there, � � I have a problem in client - server application. � My server is windows 2003. � Problem is whenever I try to send collection as an argument to the � remote method I get error saying � Runtime error 462. The remote server does not exists or is � unavailable. � � It was working till recent days. Not sure whether I changed some � security settings. � Please help me to get thia resolved. It is taking lot of time. � � Thanks � Harsha The following link might help you troubleshoot the issue. Make sure that you didn't break binary compatibility (if you made any recent changes). http://support.microsoft.com/kb/269330 Paul ~~~~ Microsoft MVP (Visual Basic)
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: Print ACCESS 2003 report via VB6 Application Next: MsgBox and a pop up form |