Retrieving the COM class factory for component with CLSID … failed due to the following error: 80070005.

1 Strart Menu开始菜单 – Run运行

2 输入DComCnfg,确定OK

3 选择 Component Services – Computer – My Computer – DCOM Config

4 选择 Microsoft Excel Application, 右击Right Click -属性Properties

5 选择 Security Tab – Launch and Activation Permissions – Customize – Edit…

6 (Windows XP/2003) Click Add… – Advanced – Find Now

7 (Windows XP) 选择 ASPNET – Click OK – Click OK

   (Windows 2003) 选择 Network Service – Click OK – Click OK

8 Local Launch – Allow: True,   Local Activation – Allow: True.

9 Click OK – Click Apply – Click OK.

你可能感兴趣的:(component)