🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
6 messages
6 total messages Started by Tanveer Khan Tue, 29 Dec 1998 00:00
DCOM problem
#1886
Author: Tanveer Khan
Date: Tue, 29 Dec 1998 00:00
13 lines
1195 bytes
Hi All,
I am trying to use the Calvert's Unleashed DCOM client/server example (the
one with the square() method in it) on a NTWS and an NT server. It seems to
be working great when I have both the client/server on one machine however,
when I put the server on  a machine across the network, my client (with the
help of that machine's IP address) can launch the server form a client that
is sitting on my NTWS machine but can not use any of the functions exposed
by the server.  It seems like when the application is distributed across the
network I can not get  the correct interface handle ??
Am I suppose to change the access control  on the server side??
What am I doing here wrong... can anybody help.
Thanks in advance.
Tanveer khan
Re: DCOM problem
#1832
Author: Tom Boser
Date: Thu, 07 Jan 1999 00:00
24 lines
1463 bytes
Your having permission problems.  Run DCOMCNFG on your server and make
changes to who can lauch and run your DCOM object on that server.

HTH,
-Tom


Tanveer Khan wrote in message <76b3p6$pj110@forums.borland.com>...
>Hi All,
>I am trying to use the Calvert's Unleashed DCOM client/server example (the
>one with the square() method in it) on a NTWS and an NT server. It seems to
>be working great when I have both the client/server on one machine however,
>when I put the server on  a machine across the network, my client (with the
>help of that machine's IP address) can launch the server form a client that
>is sitting on my NTWS machine but can not use any of the functions exposed
>by the server.  It seems like when the application is distributed across
the
>network I can not get  the correct interface handle ??
>Am I suppose to change the access control  on the server side??
>What am I doing here wrong... can anybody help.
>Thanks in advance.
>Tanveer khan
>
>
Re: DCOM problem
#1834
Author: Tanveer Khan
Date: Fri, 08 Jan 1999 00:00
25 lines
1603 bytes
Thanks for the reply Tom.
I have tried the DCOMCONFG and set all the permissions(launch/access/..) to
everyone. It still does not do anything. I can launch a server from a client
machine but can not use any of the functions.
Any other ideas??
Thanks indeed.
Tanveer

Tanveer Khan wrote in message <76b3p6$pj110@forums.borland.com>...
>Hi All,
>I am trying to use the Calvert's Unleashed DCOM client/server example (the
>one with the square() method in it) on a NTWS and an NT server. It seems to
>be working great when I have both the client/server on one machine however,
>when I put the server on  a machine across the network, my client (with the
>help of that machine's IP address) can launch the server form a client that
>is sitting on my NTWS machine but can not use any of the functions exposed
>by the server.  It seems like when the application is distributed across
the
>network I can not get  the correct interface handle ??
>Am I suppose to change the access control  on the server side??
>What am I doing here wrong... can anybody help.
>Thanks in advance.
>Tanveer khan
>
>
Re: DCOM problem
#1838
Author: Microsoft VB News Group
Date: Thu, 14 Jan 1999 00:00
37 lines
1863 bytes
What's the error you get?  Does your DCOM server use any resource from your
local machine?


Tanveer Khan wrote in message <775flc$htl14@forums.borland.com>...
>Thanks for the reply Tom.
>I have tried the DCOMCONFG and set all the permissions(launch/access/..) to
>everyone. It still does not do anything. I can launch a server from a
client
>machine but can not use any of the functions.
>Any other ideas??
>Thanks indeed.
>Tanveer
>
>Tanveer Khan wrote in message <76b3p6$pj110@forums.borland.com>...
>>Hi All,
>>I am trying to use the Calvert's Unleashed DCOM client/server example (the
>>one with the square() method in it) on a NTWS and an NT server. It seems
to
>>be working great when I have both the client/server on one machine
however,
>>when I put the server on  a machine across the network, my client (with
the
>>help of that machine's IP address) can launch the server form a client
that
>>is sitting on my NTWS machine but can not use any of the functions exposed
>>by the server.  It seems like when the application is distributed across
>the
>>network I can not get  the correct interface handle ??
>>Am I suppose to change the access control  on the server side??
>>What am I doing here wrong... can anybody help.
>>Thanks in advance.
>>Tanveer khan
>>
>>
>
>
Re: DCOM problem
#1841
Author: Tanveer Khan
Date: Tue, 19 Jan 1999 00:00
53 lines
2316 bytes
Actually I do not get an error. As a matter of fact I can not call a
function!
This is what happens:
I start the client on dev-machine.
launch the server on remote machine fom my client app.
call a function and nothing happens.
Do you have any idea what could be wrong?
Thanks a bunch for all the help.
Tanveer

Microsoft VB News Group wrote in message <77lk1s$1hj3@forums.borland.com>...
>What's the error you get?  Does your DCOM server use any resource from your
>local machine?
>
>
>Tanveer Khan wrote in message <775flc$htl14@forums.borland.com>...
>>Thanks for the reply Tom.
>>I have tried the DCOMCONFG and set all the permissions(launch/access/..)
to
>>everyone. It still does not do anything. I can launch a server from a
>client
>>machine but can not use any of the functions.
>>Any other ideas??
>>Thanks indeed.
>>Tanveer
>>
>>Tanveer Khan wrote in message <76b3p6$pj110@forums.borland.com>...
>>>Hi All,
>>>I am trying to use the Calvert's Unleashed DCOM client/server example
(the
>>>one with the square() method in it) on a NTWS and an NT server. It seems
>to
>>>be working great when I have both the client/server on one machine
>however,
>>>when I put the server on  a machine across the network, my client (with
>the
>>>help of that machine's IP address) can launch the server form a client
>that
>>>is sitting on my NTWS machine but can not use any of the functions
exposed
>>>by the server.  It seems like when the application is distributed across
>>the
>>>network I can not get  the correct interface handle ??
>>>Am I suppose to change the access control  on the server side??
>>>What am I doing here wrong... can anybody help.
>>>Thanks in advance.
>>>Tanveer khan
>>>
>>>
>>
>>
>
>
Re: DCOM problem
#1853
Author: alexdg
Date: Thu, 28 Jan 1999 00:00
79 lines
3254 bytes
Hi,

Try using the MidasConnection instead of the RemoteServer object on
your clientapp, and use it with borland3/bin/scktsrv.exe on the server
machine.

The only problem I have is getting the data on the client side to be
correctly refreshed whenever the database is altered... i wanted this
activision to be triggered on the server side.


Tanveer Khan wrote:
> 
> Actually I do not get an error. As a matter of fact I can not call a
> function!
> This is what happens:
> I start the client on dev-machine.
> launch the server on remote machine fom my client app.
> call a function and nothing happens.
> Do you have any idea what could be wrong?
> Thanks a bunch for all the help.
> Tanveer
> 
> Microsoft VB News Group wrote in message <77lk1s$1hj3@forums.borland.com>...
> >What's the error you get?  Does your DCOM server use any resource from your
> >local machine?
> >
> >
> >Tanveer Khan wrote in message <775flc$htl14@forums.borland.com>...
> >>Thanks for the reply Tom.
> >>I have tried the DCOMCONFG and set all the permissions(launch/access/..)
> to
> >>everyone. It still does not do anything. I can launch a server from a
> >client
> >>machine but can not use any of the functions.
> >>Any other ideas??
> >>Thanks indeed.
> >>Tanveer
> >>
> >>Tanveer Khan wrote in message <76b3p6$pj110@forums.borland.com>...
> >>>Hi All,
> >>>I am trying to use the Calvert's Unleashed DCOM client/server example
> (the
> >>>one with the square() method in it) on a NTWS and an NT server. It seems
> >to
> >>>be working great when I have both the client/server on one machine
> >however,
> >>>when I put the server on  a machine across the network, my client (with
> >the
> >>>help of that machine's IP address) can launch the server form a client
> >that
> >>>is sitting on my NTWS machine but can not use any of the functions
> exposed
> >>>by the server.  It seems like when the application is distributed across
> >>the
> >>>network I can not get  the correct interface handle ??
> >>>Am I suppose to change the access control  on the server side??
> >>>What am I doing here wrong... can anybody help.
> >>>Thanks in advance.
> >>>Tanveer khan
> >>>
> >>>
> >>
> >>
> >
> >

-- 
===============================
Alexandre Domingues Gon�alves
EMAIL: alexdg@sbd.telepac.pt
PGP: Public key on request
TMN: 0936 2326732
-------------------------------
W I Z - Servi�os Internet LDA
WEB: http://www.wiz.pt
TEL: +351 1 464-9004/5
FAX: +351 1 464-9006
===============================
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads