Click to See Complete Forum and Search --> : DCOM/OLE View


Vafis
August 23rd, 2001, 03:18 AM
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!

Cakkie
August 23rd, 2001, 05:24 AM
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
slisse@planetinternet.be

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

Vafis
August 23rd, 2001, 06:29 AM
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