Results 1 to 12 of 12

Thread: Much ado about DCOM [Resolved]

  1. #1

    Thread Starter
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Resolved Much ado about DCOM [Resolved]

    Hi,

    I have used this forum and MSDN as references, but still I cannot get my DCOM client to attach to my DCOM server.

    1) I created the server EXE and set it to Binary Compatible, solidifying its CLSID.

    2) I created a client which can use CreateObject and get an instance of the server. This works on both PCs on my LAN, the Client PC and the Server PC.

    3) I ran the server EXE on the Client PC to "register" it with the system.

    4) I can run the client EXE on the Client PC and get it to instantiate an instance of the server EXE.

    5) I change the Client PC settings in the DCOMCFGMGR to activate DCOM communications, as seen by the following pics.

    6) I set up the server to listen for Clients.

    7) When I run the client EXE on the Client PC, I get the error in GIF_1.

    GIFs 1-5 are the Client PC DCOM configuration.

    Can you see where I am going wrong?

    GIFs 6-10 are the Server PC DCOM configuration.

    Thanks for showing me the way!

    Dave
    Attached Images Attached Images  
    Last edited by Dave Sell; Sep 28th, 2004 at 08:34 PM.

  2. #2

    Thread Starter
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    ...
    Attached Images Attached Images  
    Last edited by Dave Sell; Sep 28th, 2004 at 08:07 PM.

  3. #3

    Thread Starter
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    3
    Attached Images Attached Images  

  4. #4

    Thread Starter
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    4
    Attached Images Attached Images  

  5. #5

    Thread Starter
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    5
    Attached Images Attached Images  

  6. #6

    Thread Starter
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    6
    Attached Images Attached Images  

  7. #7

    Thread Starter
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    7
    Attached Images Attached Images  

  8. #8

    Thread Starter
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    8
    Attached Images Attached Images  

  9. #9

    Thread Starter
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    9
    Attached Images Attached Images  

  10. #10

    Thread Starter
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    10
    Attached Images Attached Images  

  11. #11

    Thread Starter
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    Well this is a sad state of affairs. I turned off my personal firewall (Kierio) on both PCs and now - IT WORKS!

    And to think I pulled all my hair out for NOTHING!

    Well I spose this thread can represent the correct way to set up DCOM...

  12. #12
    Hyperactive Member Steve Stunning's Avatar
    Join Date
    Jul 1999
    Location
    Fairfax, Virginia
    Posts
    314
    Glad to see your firewall was the problem. This is my settings w/o the firewall.

    ------------------
    | Server Side |
    ------------------

    [General]
    Authentication Level: DEFAULT

    [Location]
    Run application on this computer

    [Security]
    Default
    Default
    Custom

    [End Points]
    Default System Protocals

    [Identity]
    The Interactive User

    -----------------
    | Client Side |
    -----------------

    [General]
    Authentication Level: DEFAULT

    [Location]
    Run application on the following computer

    [Security]
    Default
    Custom
    >Everyone
    >Interactive
    >System
    Custom

    [End Points]
    Default System Protocals

    [Identity]
    The Interactive User
    Steve Stunning

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width