PC Review


Reply
Thread Tools Rate Thread

DCOM configuration

 
 
Andrew Jarvis
Guest
Posts: n/a
 
      22nd Jun 2004
Dear All,

I have a DCOM application with multiple clients and a single server.

In order to get it to work correctly all the clients have to log in under
the same user name otherwise a different server is launched for each user.

Is there any way to configure DCOM so that all users will use the same
server?

Regards,
AJ


 
Reply With Quote
 
 
 
 
CheshireCat
Guest
Posts: n/a
 
      22nd Jun 2004
Is this a problem with the way the dcom server application was configured
when it was written? imho I believe a DCOM app can be set up as
multithreaded, apartment or single instance which changes the way
single/muliple copies are opened. I've no idea how this works in practice
but it was a consideration when I wrote activex controls and I thought it
may have similar effect in dcom.
Do a google on "dcom thread models"

CC


 
Reply With Quote
 
Andrew Jarvis
Guest
Posts: n/a
 
      23rd Jun 2004
Its a VB app so everything's single threaded. Instancing is a separate
issue - its set to 'multiuse' in VB so that one server executable will
generate multiple instances of the component.

As I said, it works as I require if every client logs in as the same user
but not otherwise.

I've tried using DCOMCnfg to set the launching user to be the same for all
clients but that doesn't work either.

Thanks for replying,
AJ

"CheshireCat" <(E-Mail Removed)0m> wrote in message
news:eO%(E-Mail Removed)...
> Is this a problem with the way the dcom server application was configured
> when it was written? imho I believe a DCOM app can be set up as
> multithreaded, apartment or single instance which changes the way
> single/muliple copies are opened. I've no idea how this works in practice
> but it was a consideration when I wrote activex controls and I thought it
> may have similar effect in dcom.
> Do a google on "dcom thread models"
>
> CC
>
>



 
Reply With Quote
 
Andrew Jarvis
Guest
Posts: n/a
 
      6th Jul 2004
Found the answer in KB169321.

"Andrew Jarvis" <someone@somewhere> wrote in message
news:(E-Mail Removed)...
> Dear All,
>
> I have a DCOM application with multiple clients and a single server.
>
> In order to get it to work correctly all the clients have to log in under
> the same user name otherwise a different server is launched for each user.
>
> Is there any way to configure DCOM so that all users will use the same
> server?
>
> Regards,
> AJ
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DCOM configuration George3 Microsoft VC .NET 0 14th Feb 2008 01:02 PM
Dcom configuration jb Windows XP Security 0 13th Aug 2005 08:08 AM
DCom configuration Olivier STOQUART Windows XP Embedded 1 9th Apr 2004 08:10 PM
DCOM Configuration warning krella Microsoft Outlook 0 22nd Mar 2004 07:07 PM
DCOM configuration Dipak Microsoft Windows 2000 Networking 0 16th Sep 2003 07:52 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:10 AM.