Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObjectEx Error
Message
De
19/03/2001 09:40:13
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:
00486461
Vues:
11
>>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.

I was using Remote Automation on the Server Connection tab of the RACMGR32. Should I be using Distributed COM? I tried to select Distributed COM, however, ever time I select it then select Apply it reverts back to Remote Automation. Doesn't it have to be Distributed COM before I can use the DCOMCNFG?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform