专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > .NET Framework

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

发布时间:2011-06-23 14:26:53 文章来源:www.iduyao.cn 采编人员:星星草
.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
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: