首页 | 博客群 | 公社 | 专栏 | 论坛 | 图片 | 资讯 | 注册 | 帮助 | 博客联播 | 随机访问
搜狗拼音输入法的不方便之处- -| 回首页 | 2006年索引 | - -ExBPA的设计原则

一个System.UnauthorizedAccessException错误

关键词.net    iis                                          

我的机器在我午休的时候也禁不住休息了,重新启动的时候我本机的IIS服务就出现了问题,不能启动了。

我重新安装了iis服务,结果我运行在.Net1.1下面的程序就出现了一个很纳闷的一个问题,大概消息就是System.UnauthorizedAccessException错误。下面是一大堆堆栈的值。

查了一下,最后运行WINDOWS\Microsoft.NET\Framework\v1.1.4322目录下的aspnet_regiis -i -enable搞定。

【作者: Goooder】【访问统计:】【2006年07月16日 星期日 18:35】【注册】【打印

搜索

Google

Trackback

你可以使用这个链接引用该篇文章 http://publishblog.blogchina.com/blog/tb.b?diaryID=5396814

来自逐鹿流行榜逐鹿流行榜的引用:

逐鹿流行榜

博客手拉手

回复

- 评论人:sman.huang   2008-07-14 14:07:14   

1. Control Panel -〉 Administrative Tools -〉 Component Services

2. Console Root -〉 Component Services -〉 Computers -〉 My Computer -〉 DCOM Config

3. Right-Click 'Microsoft Excel Application' and choose Properties

4. Click 'Security' tab

5. Customize 'Launch and Activation Permissions'

6. Add the local ASPNET user and give it all permissions

- 评论人:Goooder   2008-06-07 11:53:08   Goooder的博客  

楼上的我认为是因为某个COM组件没有注册造成的。或者是因为权限不够。

- 评论人:救命啊   2008-06-04 17:13:12   

2: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {522E44BF-7BC9-4135-B5EB-8CC154144B0D} failed due to the following error: 80070005. at 这个问题怎么解决呀,各位大侠,小弟跪求啦!
有解决办法发我邮箱:461474154@qq.com
QQ:461474154

验证码:   
评论内容: