服务器为win2003 开机后不登录administrator 客户机就倒不出excel
登录administrator 后就可以倒出来
错误如下:
Server Error in '/PMS' Application.
--------------------------------------------------------------------------------
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 8000401a.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 8000401a.
Source Error:
谁能告诉我下 是什么问题 万分感谢!!!!
如果是在IIS下的,对以上的CLSID COM组件赋予network service帐号(iis的运行帐号)启动、执行等权限就可以了
不过在asp.net下最好不要用excel的com组件处理,http://www.cnblogs.com/2018/category/249767.html 上Web系统下Office文档的处理 有一些参考
我也附和一下,NPOI确实很好用