Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005. 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.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.
解决方案 »
- 请教 C#多串口 实时通讯 读、写操作会相互干扰哦!
- C#里面怎样实现窗口A调用窗口B的事件
- 删除文件,怎么排除某个文件不删除,哪位高手指点下呀。
- “命名空间“System”中不存在类型或命名空间名称“Windows”(是缺少程序集引用吗?)”怎么解决呀?
- 百分求解.SqlDataAdapter 的問題 .http://community.csdn.net/Expert/topic/4916/4916326.xml?temp=.3271143
- c# 连接sql2000提示出错
- Window Mobile 下 用C#如果如何获取获取本机的DNS设置
- 在c#.net中开发个web services在[WebMethod]中如何获取客户端的ip地址?急!!
- 谁有NHibernate.Mapping.Attributes的一些使用实例呀?
- 用c#如何实现ftp,及http功能
- 在一个窗体中,怎么得到别的窗口的Handle
- encode 问题
组件服务(win2003)
修改excel组件的启动权限
如果是Window2003 ->控制面版 -> 管理工具 -> 组件服务 ->
打开树级目录找到子目录DCOM配置 -> Microsoft Excel 应用程序
-> 右击选“属性” -> 在弹出对话窗口中选“安全”选项卡->
-> 将启动和激活权限设为自定义->点击编辑按钮->
->在新窗口中将Everyone用户加入,选中复选框"启动权限",给予启动权限如果是WindowXP ->控制面版 -> 管理工具 -> 组件服务(繁体为"元件服务") ->
打开树级目录找到子目录DCOM配置 -> Microsoft Excel 应用程序
-> 右击选“属性” -> 在弹出对话窗口中选“安全”选项卡->
-> 将启动和激活权限设为自定义->点击编辑按钮->
->在新窗口中将Everyone用户加入,选中复选框"远程启动",给予远程启动权限
Excel article resource:
http://blog.csdn.net/ChengKing/archive/2005/11/29/539514.aspx