CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: DCOM/OLE View

  1. #1
    Join Date
    Dec 1999
    Location
    Greece
    Posts
    75

    DCOM/OLE View

    I have implemented an Dcom application with Com Server and Com Client. This application running correctly on two individual PCs running Windows 98 emulating the Client/Server on the same machine (each PC has each own application). When i try to run a Com server from one pc that has the com client using the command Set objDB = CreateObject("SSIDBServer.DBServer", .ServerName) a message "ActiveX component can't create object" appears.
    Then i try to create an instance of this server on the appropiate machine using OLE VIEW tool from Visual Studio a message appears "CoGetClassObject failed Server execution failed CO_E_SERVER_EXEC-FAILURE($80080005).
    I think that dcom configuration using dcomcnfg.exe
    is O.K
    What may be the problem in not loading a server com on a remote machine?
    Thanks!


  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: DCOM/OLE View

    Propably, the target machine isn't configured to be a DCOM server, and doesn't have the services running. If I'm correct, this should be MTS or COM+. For MTS, the server must be a Win NT machine (server of workstation, doesn't matter), for COM+, you must use Win2K (server or workstation). the fact that you can create them on the machine itself, is because you are not using DCOM at that time, you just directly create it on the PC.

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

  3. #3
    Join Date
    Dec 1999
    Location
    Greece
    Posts
    75

    Re: DCOM/OLE View

    The target machine run windows 98 i think that configure properly viewing the servers on the
    Dcomcnfg.exe setting it as default no athentication ,enable dcom ,enable remote connection checked etc.
    Maybe i should have an class called Catalog Class in Dcomcnfg.exe if you know


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

Featured