错误:Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.
->"开始" -> "运行"中输入DCOMCNFG
->"组件服务"->"计算机"->"我的电脑"->"DCOM配置"
-> 找到"Microsoft Excel 应用程序" -> 右键->"属性", 弹出"Microsoft Excel 应用程序属性"对话框
->"安全"标签 -> 在"启动和激活权限"上点击"自定义",
->填加"NETWORK SERVICE" (或者ASPNET) (注意要选择本计算机名),
->添加"本地启动"和"本地激活"权限.