Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DCOM
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Re: DCOM
Divers
Thread ID:
00168581
Message ID:
00168708
Vues:
26
>I have build a small ActiveX Server (.EXE) just to learn how it work.
>
>When the .EXE is on my hard disk, CreateObject() work fine. But, when I put the .EXE on another computer, CreateObject() return "Server execution failed".
>
>What am I missing?

It could be any number of things, starting with how the object is
configured on the local machine. In order to run objects over DCOM
a local copy of hte object or at least the type library must exist.

If the object exists locally you can configure it all in DCOMCNFG
including the location (machine) of hte object.

The other issue is security. In order for you to run the DCOM
object on another machine it must allow access by your user
account (Local machine account!). There are Access and Launch
rights and then there are Impersonation accounts that deal
with the context of the server while running. Get any of those
wrong and DCOM will fail...

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform