1. 程式人生 > >應用程式-特定許可權設定未將com伺服器應用程式(CLSID為{BA126AD-2166-11D1-00805FC1270E})

應用程式-特定許可權設定未將com伺服器應用程式(CLSID為{BA126AD-2166-11D1-00805FC1270E})

內心N煩躁;

Event ID : 100016
Source : DCOM The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID {BA126AD1-2166-11D1-B1D0-00805FC1270E} to the user NT AUTHORITY/NETWORK SERVICE SID (S-1-5-20). This security permission can be modified using the Component Services administrative tool. 應用程式-特定 許可權設定未將 COM 伺服器應用程式(CLSID 為
{BA126AD1-2166-11D1-B1D0-00805FC1270E}
)的 本地 啟用 許可權授予使用者 NT AUTHORITY/NETWORK SERVICE SID (S-1-5-20)。可以使用元件服務管理工具修改此安全許可權。
The COM Server application with CLSID has to be tracked down in the
registry, in this case the following reg key: HKEY_CLASSES_ROOT/CLSID/{BA126AD1-2166-11D1-B1D0-00805FC1270E} 在這種情況下可以從登錄檔中找鍵值HKEY_CLASSES_ROOT/CLSID/{BA126AD1-2166-11D1-B1D0-00805FC1270E}。 In this key you can acquire the AppID, in this case the following AppID: {27AF75ED-20D9-11D1-B1CE-00805FC1270E} 這樣就可以找到這個鍵值對應到應用程式ID是,{27AF75ED-20D9-11D1-B1CE-00805FC1270E}。 The AppID has to be tracked down in the registry, in this case the following
reg key: HKEY_CLASSES_ROOT/AppID/{27AF75ED-20D9-11D1-B1CE-00805FC1270E} In this key you can acquire the LocalService name, in the case the following
name: Netman 通過這個AppID可以跟蹤到這個程式名稱是Netman。 The LocalService has to be tracked down in the Component Services MMC; in
this case Netman is listed within the DCOM Config section. 通過MMC控制檯就可以去配置這個DCOM了。 Browse to the Security Tab, edit the Launch and Activation Permissions, and
make necessary changes. In this case, NETWORK SERVICE needed to be added with
Remote Launch and Remote Activation permissions.

【解決辦法】:

開始→控制面板→管理工具→元件服務
開啟 元件服務 樹目錄 →計算機→我的電腦→DCOM配置
右邊的面板裡 找到 netman 右鍵→屬性→安全→ 啟動和啟用許可權 →自定義→編輯   新增 network service 使用者,把本地啟動和本地啟用勾上就可以了。

再次得意一下,呵呵,問題解決了,重新啟動就再也不會有這個煩人到報錯對話方塊了。