DCOM configuration

  • Thread starter Thread starter Andrew Jarvis
  • Start date Start date
A

Andrew Jarvis

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
 
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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top