最近Windows Server 2003 sp1/sp2 log 总是报错:
事件类型:    错误
事件来源:    DCOM
事件种类:    无
事件 ID:    10016
日期:        2008-7-7
事件:        10:41:45
用户:        NT AUTHORITY\NETWORK SERVICE
计算机:    NICEGAIN-SW741B
描述:
应用程序-特定 权限设置未将 COM 服务器应用程序(CLSID 为
{BA126AD1-2166-11D1-B1D0-00805FC1270E}
)的 本地 激活 权限授予用户 NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20)。可以使用组件服务管理工具修改此安全权限。

有关更多信息,请参阅在 [url]http://go.microsoft.com/fwlink/events.asp[/url] 的帮助和支持中心。

解决方法:
1.查找微软官网,事件和错误消息中心,[url]http://go.microsoft.com/fwlink/events.asp[/url],选Windows operating system 查ID 10016
结果如下:
Details
Product:Windows Operating System
ID:10016
Source:DCOM
Version:5.2
Symbolic Name:EVENT_COM_ACCESS_DENIED_IN_SERVER_ACTIVATION_OR_LAUNCH_PERMISSION
Message:
The %1 permission settings do not grant %2 %3 permission for the COM Server application with CLSID %4 to the user %5\%6 SID (%7). This security permission can be modified using the Component Services administrative tool.
%1 = machine-default, application-specific; %2 = local, remote; %3 = launch, activation; %4 = ; %5 = /; %6 = .
Explanation
A program, the Clsid displayed in the message, tried to start the DCOM server by using the DCOM infrastructure. Based on the security ID (SID), this user does not have the necessary permissions to start the DCOM server.
User Action
Verify that the user has the appropriate permissions to start the DCOM server.
To assign permissions
  1. Using Regedit, navigate to the following registry value
    HKCR\Clsid\clsid value\localserver32
    The clsid value is the information displayed in the message.
  2. In the right pane, double-click Default. The Edit String dialog box is displayed. Leave this dialog box open.
  3. Click Start, and then click Control Panel.
  4. Double-click Administrative Tools, and then double-click Component Services.
  5. In the Component Services snap-in, expand Computers, expand My Computer, and double-click DCOM Config.
  6. In the right pane, locate the program by using its friendly name.
  7. Right-click the program name, and then select Properties.
  8. On the Security tab, in the Launch and Activation Permissions group box, select Customize, and then click Edit.
Add the user to the permissions list, and give the user the appropriate permissions.
即:通过
         通过错误日志的CLSID的值BA126AD1-2166-11D1-B1D0-00805FC1270E 定位注册表中相关选项,
BA126AD1-2166-11D1-B1D0-00805FC1270E,通过这个选项的值{27AF75ED-20D9-11D1-B1CE-00805FC1270E},定位到控制面板------管理工具------组件服务的
选项,通过这个值27AF75ED-20D9-11D1-B1CE-00805FC1270E,定位到组件,再右击,选中属性进行编辑。

2.