Advertisement

07.23.2008 at 03:05AM PDT, ID: 23587887 | Points: 125
[x]
Attachment Details

W2K8 DCOM error 10016

Asked by Bart_grapsol in Microsoft Excel Spreadsheet Software, Windows OLE Programming, DCOM

Tags: Microsoft, server 2008 / IIS7, 2008, try to run Excel in background via DCOM: works in W2K3 / IIS6, The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID

Try to call Excel sheet from PHP file. Fails always.
System error: 10016:  The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID {000C101C-0000-0000-C000-000000000046} to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.
Application warning: Event 1015, MsiInstaller; User: network service: Failed to connect to server. Error: 0x80070005

This modification has been done to allow user "network service" local launch & activation permissions. Still the error remains. When in dcomcnfg the user identity is changed from "the launching user" to an administrator, the error does not occur. However, excel throws this error: "cannot use object linking and embedding" when started.Start Free Trial
 
Loading Advertisement...
 
[+][-]08.16.2008 at 06:14AM PDT, ID: 22243992

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628