Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObjectEx Error
Message
From
19/03/2001 09:40:13
Monte Murdock
Universal American Mortgage Company
Clearwater, Florida, United States
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00486440
Message ID:
00486461
Views:
13
>>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform