|
-
August 23rd, 2001, 03:18 AM
#1
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!
-
August 23rd, 2001, 05:24 AM
#2
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
-
August 23rd, 2001, 06:29 AM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|