Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObjectEx Error
Message
 
À
19/03/2001 08:46:20
Monte Murdock
Universal American Mortgage Company
Clearwater, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00486440
Message ID:
00486449
Vues:
14
>I'm trying to run a remote COM EXE using the CreateObjectEx command.
>
>Example: oSec = CreateObjectEx('comsec.comsec','\\SERVER2')
>
>When I execute the line above from the command line. I get the following error:
>OLE error code 0x80070005: Access is denied.
>
>The COM server is on a NT 4.0 machine running Automation Manager and I'm running the line above from a Win95 machine.
>
>Any idea what I need to do to make that error message go away and return a reference to the object?

Monte, you need to configure the "Default Security" in DCOMCNFG on your NT box to setup the Default Launch Permissions and Default Access Permissions to add the "Network" user. The custom permissions also may be configured individually for your COM EXE in its Properties/Security tab. Security configuration is up to you.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform