.NET Framework 四 安装未成功 一般信任关系失败

精贴 置顶
2451 0

.NET Framework 4 安装未成功 一般信任关系失败
公司内部服务器.Net平台从Framework2.0升级到Framework 4,同时近千台客户端也需要升级。今天正式开始动工,

可是刚开始不久就遇到了些麻烦,大部分机器可以正常升级到Framework 4,

可是就有那么小部分机器很调皮,怎么安装都不行,

老是提示“安装未成功”、“沿未安装.NET Framework 4 ,原因是:一般信任关系失败。”。

没办法只能先放放这些比较特殊的机器了,让他们休息休息!

       想来想去就觉得这是系统问题,真是重新装系统的心都有了。可是这不是开玩笑的,

至少会有上百台机子的需要重新装系统。

后来又听说,有人重新装过系统还是不行,这下可以肯定的是系统是不用再重装了。

没办法,我就google来google去,终于让我找到了解决的方法。

出现这个问题的原因是dll文件注册不正确,

需要重新注册Softpub.dll, Wintrust.dll, Initpki.dll, and Mssip32.dll这四个dll文件。我们编写以下脚本:
       regsvr32 /s Softpub.dll
       regsvr32 /s Wintrust.dll
       regsvr32 /s Initpki.dll
       regsvr32 /s Mssip32.dll
       重新注册过之后,再安装.NET Framework 4就可以顺利安装了。
以下内容是我在MSDN网站看到的,也是本文的出处。因为这个问题比较不好处理,故分享。
---------------------------------------------------------------
Hello,

This looks like the issue of incorrect dll registration for some security dlls. Can you please try the following and let me know if this solves the issue or not?

Method for Windows 2000, Windows XP, or Windows Server 2003

To resolve this issue, register the Softpub.dll, Wintrust.dll, Initpki.dll, and Mssip32.dll files. To register these files, follow these steps:


Click Start, click Run, type cmd, and then click OK.
At the command prompt, type regsvr32 Softpub.dll /s, and then press ENTER.
At the command prompt, type regsvr32 Wintrust.dll /s, and then press ENTER.
At the command prompt, type regsvr32 Initpki.dll /s, and then press ENTER.
At the command prompt, type regsvr32 Mssip32.dll /s, and then press ENTER.
The complete artcle can been seen here: http://support.microsoft.com/kb/956702

I hope this will resolve the issue.

Thanks & Regards,
Muhammad Ghaznawi


Proposed As Answer byHellBringerTuesday, April 05, 2011 9:25 AM

  • 没有任何评论
今日天气 ···

···

···

···

热门排行
CSS cursor鼠标样式一览表 2012-06-25
.NET后台写JS代码 2011-11-03
网站地址多出jdfwkey的问题解析及... 2010-08-25
数据库xxx的日志已满,请备份该数... 2013-07-19
百度、google、Yahoo网站地图制作... 2011-01-30
<a>标签的伪类书写顺序问题... 2010-09-04
什么是长尾关键词? 2010-09-24
CEO名言 2010-08-31
Mysql 主从数据库同步 2010-09-12
用ASP实现网页BBS 2010-11-01
博主推荐
本个人博客微信公众平台上线啦~~... 2013-10-13
饼哥网络互联上线啦~~要买域名空... 2013-09-20
网站title标题如何正确修改不会被... 2013-08-26
饼哥通讯录系统上线啦,欢迎大家... 2013-08-24
ASP .NET MYSQL 的简单分页 并不... 2013-08-19
网站有弹窗广告这样的站点,百度... 2013-08-17
做淘宝SEO优化需要注意的8大问题 2013-08-17
淘宝网怎么做SEO优化 2013-08-17
站长们要学习的“苍井空精神” 2013-08-17
苹果公司今日发布了iOS 7第五个开... 2013-08-07
随便看看
百度指数 2010-09-26
让你电脑C盘快起来,揪出占据硬盘... 2010-09-07
11个SEO最常见问题解答 2010-08-30
A potentially dangerous Reques... 2013-11-16
IIS 上传文件大小配置步骤(默认2... 2012-05-31
使用 Bulk Copy 将大量数据复制到... 2010-09-11
mysql分页limit 优化 2013-08-19
Google Analytics 分析的关键字怎... 2010-10-02
ASP中使用Session变量的优缺点 2010-10-25
提高ASP性能的最佳选择 2010-10-21
RSS新闻
传媒新闻
CSDN
八卦新闻
女性新闻
台湾新闻
互联网
军事-新浪博客
IT-新浪博客
汽车新闻
游戏新闻
国际新闻
国内新闻
体育新闻
我的微博
北京 上海 杭州 深圳 广州 成都